Re: Connection problems with jdbc

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Connection problems with jdbc
Дата
Msg-id 29583.1272414141@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Connection problems with jdbc  (Andrew Brunette <brunette.andrew@gmail.com>)
Список pgsql-jdbc
Andrew Brunette <brunette.andrew@gmail.com> writes:
> When I run this, I get the message, "FATAL: Ident authentication failed for
> user "abrunette"".  Testing seems to indicate that this message could come
> from a variety of sources.  Can anyone suggest what I might be doing wrong?

The server's pg_hba.conf is set to demand ident authentication, not
password authentication, and your client code is not actually running
as user abrunette (or at least isn't connecting over a pathway that
would allow that to be determined reliably).

See
http://www.postgresql.org/docs/8.4/static/client-authentication.html
for info about reconfiguring to use password authentication.

            regards, tom lane

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: [Jdbc-commits] JDBC and real values returned by Postgres
Следующее
От: Olivier Bouiron
Дата:
Сообщение: Re: [Jdbc-commits] JDBC and real values returned by Postgres