Skip site navigation (1) Skip section navigation (2)

php -postgresql

From: Jay <jspothar(at)cs(dot)uccs(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: php -postgresql
Date: 2004-07-28 18:12:12
Message-ID: 4107EC7C.3000400@cs.uccs.edu (view raw or flat)
Thread:
Lists: pgsql-general
hi people,
i have been trying to connect to the database using php. but i am not 
able to do so .i am getting the following errors

 


      *Warning*: pg_connect(): Unable to connect to PostgreSQL server:
      FATAL: IDENT authentication failed for user "jay" . in
      */var/www/proj/psql_results.php* on line *37*

on using the following command
 $connection = pg_connect("host=localhost dbname=cs542 user=jay") or 
die("could not connect");

 can anyone tell me where am i going wrong.
help would be greatly appreciated
thanks
jay


Responses

pgsql-general by date

Next:From: ChrisDate: 2004-07-28 18:51:29
Subject: Re: php -postgresql
Previous:From: Daniel VeriteDate: 2004-07-28 16:45:50
Subject: Re: Sql injection attacks

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group