Database connection problem

Started by Varsha Agarwalover 23 years ago1 messagesgeneral
Jump to latest
#1Varsha Agarwal
varsha_agarwal@hotmail.com

Hi,
I am trying to connect to postgresql database using php. But when i try to
connect i get the following error in the browser.

Warning: Unable to connect to PostgreSQL server: FATAL 1: IDENT
authentication failed for user "varsha" in /var/www/html/test.php on line 3
connection failed

I saw the pg_hba.conf file and the authentication type is trust. Can anyone
help me figure out this??
-Varsha

_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail.
http://www.hotmail.com