DBD::Pg and .pgpass
DBD::Pg and .pgpass
От:
Brian Trammell <bht@cert.org>
Дата:
Greetings, I'm trying to run a Perl script connecting to a PostgreSQL database via DBI and DBD::Pg as a cron job. I'm already using the .pgpass mechanism for managing md5 passwords on the client side and would like to use the same mechanism for connecting from the Perl script. This does not, however, appear to work. Passing either "" or undef for the password yields "no password supplied at
Re: DBD::Pg and .pgpass
От:
"Greg Sabino Mullane" <greg@turnstep.com>
Дата:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > I'm trying to run a Perl script connecting to a PostgreSQL database via > DBI and DBD::Pg as a cron job. I'm already using the .pgpass mechanism > for managing md5 passwords on the client side and would like to use the > same mechanism for connecting from the Perl script. This does not, > however, appear to work. Passing either "" or undef for the password > yields "no password supplied at