On Thu, Nov 06, 2014 at 12:18:00PM +0800, Hadri Rahman wrote:
> DBI connect('dbname=bucardo;host=localhost;port=5432','bucardo',...)
> failed: fe_sendauth: no password supplied at /usr/local/bin/bucardo line
> 8627.
Hmmm.. does a psql connection as the bucardo user work?:
psql -h localhost -p 5432 -U bucardo bucardo
If so, you might try changing the empty password string at line
8627 to an undef. It shouldn't matter, but might be worth a shot:
$dbh = DBI->connect($BDSN, 'bucardo', '',
{AutoCommit=>0,RaiseError=>1,PrintError=>0});
to:
$dbh = DBI->connect($BDSN, 'bucardo', undef,
{AutoCommit=>0,RaiseError=>1,PrintError=>0});
--
Greg Sabino Mullane [email protected]
End Point Corporation
PGP Key: 0x14964AC8
signature.asc
Description: Digital signature
_______________________________________________ Bucardo-general mailing list [email protected] https://mail.endcrypt.com/mailman/listinfo/bucardo-general
