PDA

View Full Version : postgres problem



LorenzoBattaglia
04-04-2011, 01:19 PM
i just istalled the new version 1.11.06c and my postgres doesn't work anymore...

"the following error occured when trying to open the database: failed to estalish a connection to 127.0.0.1"


i tried to unistall postgres ( from control panel and delete the folder) and reistall version of hm, but still don't work, can u help me?

ps. i'm not so good in english and using pc :(

Patvs
04-04-2011, 10:09 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

LorenzoBattaglia
04-05-2011, 03:49 AM
it doesn't work...
how can i unistall completily the old postgres and how can i reistall the new one? can u explain me pls? ty

Sarek
04-05-2011, 05:04 AM
every time when you fail to install Postgre, you have to uninstall it completely. This means: after standard uninstall do this:
Go to Start > Programs > Accessories > Command Prompt > Right-Click > Run As Administrator
In the window that appears please type the following and press enter:

net user postgres /delete
exactly as shown
You should get a confirmation if it was successful.