Re: database access

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: database access
Дата
Msg-id AANLkTinBEWhB=K4Ftb5OSpLzr0C_pWAg8Tmq5geALES0@mail.gmail.com
обсуждение исходный текст
Ответ на database access  (Jeff Langley <jefflangley@sympatico.ca>)
Список pgsql-novice
On 18 October 2010 21:06, Jeff Langley <jefflangley@sympatico.ca> wrote:
>  Hello;
>
> I have no difficulty connecting to a database from the command line with any
> user but when accessing the database through a browser ( a simple PHP file
> with pg_connect ), only by creating a user "apache" can the database be
> contacted. All other users produce an error in the apache log stating,
> "Ident failed for...". Any idea what is happening here?

That's because you've got "ident" authentication in your pg_hba.conf
file.  I answered a similar question earlier today, so please take a
look and see if it helps you solve this:
http://archives.postgresql.org/pgsql-novice/2010-10/msg00117.php

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

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

Предыдущее
От: Jeff Langley
Дата:
Сообщение: database access
Следующее
От: "Donald Kerr"
Дата:
Сообщение: Hex to Dec Conversion