[libpq] Password authentication failed for user

Поиск
Список
Период
Сортировка
От Torsten Mager
Тема [libpq] Password authentication failed for user
Дата
Msg-id 43C65F71.7060407@nugmbh.de
обсуждение исходный текст
Ответы Re: [libpq] Password authentication failed for user  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-interfaces
Hello!

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 по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: libpq and auth type
Следующее
От: Kashyap Jani
Дата:
Сообщение: Getting data where select has a limit criteria