i am trying to connect to postgres from a Perl script using DBI,
and using an encrypted password. (for right now i'm doing this on a
local machine, but the idea is obviously to go from a web server to
another machine with postgres on it.) Even though I have this in the
local all crypt
host all 127.0.0.1 255.255.255.255 crypt
the perl script connects just fine with a plain text password.
but if i use perl's crypt function,
$dbh = DBI->connect("DBI:Pg:dbname=dbname", "user", crypt("cleartext",
then i can't connect.
Is this because the crypt in perl is different from that in
postgres? that would really surprise me.
Thanks in advance, aaron.
pgsql-admin by date
|Next:||From: John Zhuang||Date: 1998-09-25 22:05:12|
|Subject: Can postgreSQL support perl interface?|
|Previous:||From: Fred Bennett||Date: 1998-09-25 03:57:48|
|Subject: d: command not found during compilation.|