in reply to Trouble establishing a dialogue between Perl and PostgreSQL
Under Linux (the Windows locations will, no doubt, vary) I usually have to go into /var/lib/pgsql/data/ and modify pg_hba.conf (to allow local access without authentication) and postgresql.conf (to allow a connection using sockets).
And, of course, if this is a new installation I have to run the service script with initdb before the service itself can be started. You platform may vary.
|
---|