Hi,

  This is error is coming to you bcoz you have given IDENT as the 
authentication type in your pg_hba.conf file.  Check out this file,
whether you have enabled "IDENT" as your auth type. If so configure
appropriately users for IDENT authentication.

   For simplicity and for testing purpose, you can just give "trust"
for localhost and try whether you are able to connect to postgresql or 
not.

-S. Sukumar


> I am trying to connect to postgre_sql database using
> pg_pconnect(). When I try to run it i get the
> following error
> Warning: Unable to connect to PostgreSQL server: FATAL
> 1: IDENT authentication failed for user "postgres" in
> /var/www/html/test.php on line 3
> connection failed 
> 
> Please tell me what might be the reason.
> -Varsha
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
> .
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to