Re: cant connect php to postgresql

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: cant connect php to postgresql
Дата
Msg-id 1165438652.3243.10.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на cant connect php to postgresql  ("swati desai" <swatidesai0407@gmail.com>)
Список pgsql-general
On Wed, 2006-12-06 at 01:17, swati desai wrote:
> i am trying to connect php to postgresql but im getting warning FATAL:
> IDENT authentication failed... for user and  pg_connect("dbname=swati
> user=xyz password=abc");
>
> and hence cant work
> plz tell me wat is d problem

Your pg_hba.conf file isn't setup how you need it to be.  Take a look
here:

http://www.postgresql.org/docs/8.2/interactive/auth-pg-hba-conf.html

and see about changing your method from ident to something like md5 or
trust, depending on your situation.

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Restore database from files (not dump files)?
Следующее
От: Keary Suska
Дата:
Сообщение: Trying to Understand Table Inheritance