Re: DBI->data_sources("Pg") problem

[email protected] (Laslo Forro)
Newsgroups perl.dbi.users
Message-ID <[email protected]>
Thanx for you concern, the problem was with my installation.
I have reinstalled everything system-wide perl-related, made the symlinks
check, and reinstalled DBI and DBD::Pg, now all is fine.
Thank you again!

Yours
Laslo

On Tue, Sep 21, 2010 at 6:59 PM, Laslo Forro <[email protected]> wrote:

> I do not have DBI_DSN set but I use "dbi:Pg:database=whatever".
> I receive no error message, simply nothing.
> I am digging deeper for DBI or Pg - do not know yet - drops  a segfault in
> a tested piece of code, so perhaps the problem is somewhere in the dark
> corners of the Earth.
>
>
> On Tue, Sep 21, 2010 at 3:55 PM, Greg Sabino Mullane <[email protected]>wrote:
>
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: RIPEMD160
>>
>>
>> > No, it doesn't work even after connecting the db.
>> >
>> > DBI: 1.614
>> > DBD::Pg: 2.17
>> > Postgresql: 8.4.4
>>
>> What error does it give? Are you sure that your environment parameters
>> are correct (e.g. DBI_DSN)? You might try specifying the information
>> directly:
>>
>> @data_sources = DBI->data_sources('Pg', 'port=5824;host=example.com');
>>
>> - --
>> Greg Sabino Mullane [email protected]
>> End Point Corporation http://www.endpoint.com/
>> PGP Key: 0x14964AC8 201009210952
>> http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
>> -----BEGIN PGP SIGNATURE-----
>>
>> iEYEAREDAAYFAkyYuSUACgkQvJuQZxSWSshwiwCfXHB/NX4zSXrpXjH5wdMLePaD
>> crYAn3kZ+dk5GZ321rHgAjHk2lQz6b1f
>> =6KdV
>> -----END PGP SIGNATURE-----
>>
>>
>>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.