PDA

View Full Version : PostgreSQL



zart
10-13-2006, 10:57 PM
I am unable to connect to PostgreSQL using php;

Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432?

I have created database and users in cpanel and can connect with phpPgAdmin.
phpPgAdmin shows the database and user okay and the privileges as I would expect.

I have tried this script on my local setup and it works okay.
Is PostgreSQL running on locahost or perhaps another machine?

stephen
10-15-2006, 03:41 AM
Zart;

Contact support through ticket,chat or call. Let them know to get a level3 tech to change the postgres conf file to allow tcp.

zart
10-15-2006, 05:07 AM
Thanks Stephen,

A quick Live Chat session and all is working.

Copperblade
03-22-2008, 02:37 PM
Wow, that's really annoying. Is there any reason this isn't set up by default?

Copperblade
03-22-2008, 08:42 PM
I submitted a ticket and it still hasn't been responded to. How do you get to that chat feature?

linFox
03-23-2008, 07:29 AM
I submitted a ticket and it still hasn't been responded to. How do you get to that chat feature?
Live Chat is accessible via the 'Live Chat' link in the lower left-hand corner (under the phone numbers) of the hostmonster.com homepage. If there's no link there, try again a little later.