Re: [libpq] Password authentication failed for user - Mailing list pgsql-interfaces

From Michael Fuhr
Subject Re: [libpq] Password authentication failed for user
Date
Msg-id 20060112202745.GA84415@winnie.fuhr.org
Whole thread Raw
In response to [libpq] Password authentication failed for user  (Torsten Mager <mager@nugmbh.de>)
List pgsql-interfaces
On Thu, Jan 12, 2006 at 02:53:53PM +0100, Torsten Mager wrote:
> In one case everything is ok and the connection to the database works.
> 
> The other program does not work fine, the error-message "Password 
> authentication failed for user" appears. If i change the configuration 
> of the server in "pg_hba.conf" from "md5" to "password", everything 
> works fine too.
> 
> What is the problem?!?

What's different about how the two programs connect to the database?
Apparently something's different; figure out what that is and you'll
be closer to finding the problem.

Are the programs connecting to the same database (not just to the
same server, but to the same database on that server)?  Are they
connecting as the same user?

-- 
Michael Fuhr


pgsql-interfaces by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Getting data where select has a limit criteria
Next
From: Kashyap Jani
Date:
Subject: Re: Getting data where select has a limit criteria