Skip site navigation (1) Skip section navigation (2)

[libpq] Password authentication failed for user

From: Torsten Mager <mager(at)nugmbh(dot)de>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: [libpq] Password authentication failed for user
Date: 2006-01-12 13:53:53
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces

I have two different programs written in C. Both programs are compilied 
and linked to the same liqpq. Postgresql-7.4.7 is installed and used.

In both programs similar connections to the same database are made over 
network. On the server runs postgresql-7.3.4.

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?!?


pgsql-interfaces by date

Next:From: Kashyap JaniDate: 2006-01-12 15:48:08
Subject: Getting data where select has a limit criteria
Previous:From: Magnus HaganderDate: 2006-01-11 18:25:29
Subject: Re: libpq and auth type

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group