Re: pg_hba.conf file

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pg_hba.conf file
Дата
Msg-id Pine.LNX.4.30.0103031131570.937-100000@peter.localdomain
обсуждение исходный текст
Ответ на pg_hba.conf file  ("Martin A. Marques" <martin@math.unl.edu.ar>)
Список pgsql-general
Martin A. Marques writes:

> local   all                                             trust
> host    all     127.0.0.1       255.255.255.255         password
> host    all     168.96.132.31   255.255.255.0           password
> host    all     170.210.8.31    255.255.255.0           password
>
> What do you people hear think of this? I'm consurned about the local enterie,
> but when I put password instead of trust, I can't login with PHP to the
> database.

Apparently, your PHP application connects through the 'local' (Unix domain
socket) connection.  That means the 'host' entries are irrelevant.  Of
course if you set the authentication method to 'password' and don't
actually provide a (correct) password then things aren't going to work.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Can you list the text of a proc in psql?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Error message on pg_dumpall