Subject: | Problem with password authentication in Perl using PgSQL |
Hi,
I have a problem with password authentication in a Perl script that I am writing that updates a print accounting database whenever someone prints. I have set up database "printacct" in postgresql. I have written my pg_hba.conf to include the line:
host printacct 127.0.0.0 255.255.255.0 password lp
In my Perl script I have:
$connect = PgSQL -> new(DBName => "printacct", User => "lp", \
Password => "password", Host => "localhost");
When I try to connect to the database, I get:
sendauth: no password supplied
I guess this means that the password is not getting through?
Any help gratefully received!
Chris Jewell