Re: [libpq] Password authentication failed for user

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Torsten Mager <mager(at)nugmbh(dot)de>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [libpq] Password authentication failed for user
Date: 2006-01-12 20:27:45
Message-ID: 20060112202745.GA84415@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Kashyap Jani 2006-01-12 23:18:00 Re: Getting data where select has a limit criteria
Previous Message Michael Fuhr 2006-01-12 20:03:44 Re: Getting data where select has a limit criteria