Saturday, March 8, 2008

Is the server running on host 'localhost'; and accepting TCP/IP connections on port 5432?

Tanya:
Sample scripts in PHP file:

The result is..
Unable to connect to PostgreSQL server: could not connect to server: Permission denied
Is the server running on host 'localhost'; and accepting TCP/IP connections on port 5432?

Jawab:
try to update your script into like this..


there is no host=localhost above, maybe its working, i hope..

No comments:

Post a Comment