[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Unable to connect to PostgreSQL server



Greetings !

I got the following PHP/PostgreSQL problem :

Warning: Unable to connect to PostgreSQL server: PQconnectPoll() --
connect() failed: Connection refused Is the postmaster running (with
-i) at 'localhost' and accepting connections on TCP/IP port '5432'?
in /home/sites/site8/web/connect.php on line 11

Is that a permission problem located in the pg_hba.conf
-i is in the postmaster.opts.default file.

> psql database

against it is running well.

What could be the problem. 

Thanks a lot,
--Mark