Hi
I am connecting PostGresSql db using folowing code
$conn = pg_Connect("host=127.0.0.1 port=5432 dbname=db1 user=user password=pwd ");
But i am geting following error message
Warning: Unable to connect to PostgresSQL server: PQconnectPoll() -- connect() failed: Connection refused Is the postmaster running (with -i) at '127.0.0.1' and accepting connections on TCP/IP port '5432'? in /home/sites/home/web/sample/pgresql.php on line 13
can anyone pl suggest the solution for above
kishor