Re: Re. conection error

Поиск
Список
Период
Сортировка
От Nick Fankhauser
Тема Re: Re. conection error
Дата
Msg-id NEBBLAAHGLEEPCGOBHDGAEHBDLAA.nickf@ontko.com
обсуждение исходный текст
Ответ на Re. conection error  (Russ McBride <Russ@psyex.com>)
Список pgsql-jdbc
Hi Russ-

> The first line in my pg_hba.conf file is:
>
> local      all                                trust

I don't think this line authorizes TCP/IP socket connections, but rather,
only Unix sockets. Since JDBC uses TCP/IP even if you are on the same
machine, you'll need a similar auth record starting with "host" for
127.0.0.1 (locahost) like the one below, or using trust as the method if you
prefer.

> host         all         127.0.0.1     255.0.0.0           ident sameuser

check out this page for a better explanation:

http://www.postgresql.org/idocs/index.php?client-authentication.html#PG-HBA.
CONF


Regards,

-Nick


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

Предыдущее
От: Pete Jewell
Дата:
Сообщение: Re: blobs in a client/server environment
Следующее
От: "Vianen, Jeroen van"
Дата:
Сообщение: Fix for broken JDBC's getColumn() (take 2)