Re: cant connect php to postgresql - Mailing list pgsql-general

From Scott Marlowe
Subject Re: cant connect php to postgresql
Date
Msg-id 1165438652.3243.10.camel@state.g2switchworks.com
Whole thread Raw
In response to cant connect php to postgresql  ("swati desai" <swatidesai0407@gmail.com>)
List 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 by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Restore database from files (not dump files)?
Next
From: Keary Suska
Date:
Subject: Trying to Understand Table Inheritance