BrowserUk has asked for the wisdom of the Perl Monks concerning the following question:
What does the following error mean?
DBI connect('dbname=junk','...',...) failed: Couldn't connect to /tmp/.s.PGSQL.5432: at C:/Perl64/site/lib/DBD/PgPP.pm
I can see from the DBD::PgPP POD that there is a 'path' parameter that defaults to '/tmp', but why is it trying to use it--and what for?
The connection succeeds if I specify host=localhost;port=5432, but these are also the defaults, so why do I need to specify them?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBD message diagnostic?
by ikegami (Patriarch) on Apr 15, 2009 at 06:15 UTC | |
by BrowserUk (Patriarch) on Apr 15, 2009 at 07:42 UTC | |
by bellaire (Hermit) on Apr 15, 2009 at 11:52 UTC | |
by BrowserUk (Patriarch) on Apr 15, 2009 at 13:54 UTC | |
by ikegami (Patriarch) on Apr 15, 2009 at 14:01 UTC | |
by BrowserUk (Patriarch) on Apr 15, 2009 at 14:50 UTC |