PDA

View Full Version : failed to establish connection to postresql



zurk89
09-01-2010, 09:01 PM
hi when i start hem comes up a box says "The following error occurred when trying to open the database: Failed to establish a connection to 127.0.0.1" it then pops up the database control panel and when i try to connect it says a conection could not be made would you like hem to start the service, i hit yes and it says it could not start it.

Patvs
09-01-2010, 11:29 PM
This is usually a firewall or windows update issue.

First try to reboot.

If no help, try this:

Start > Programs > PostgreSQL > 8.x > Stop Service

Start > Programs > PostgreSQL > 8.x > Start Service

If that doesnt help delete the \postgresql\8.x\data\postmaster.pid file, if you see it. And reboot.



If that doesn't help you will have to reinstall PostgreSQL completely

zurk89
09-07-2010, 12:47 AM
worked great thanks