PDA

View Full Version : can't install postgres sql



klink10k
11-29-2010, 03:04 PM
I got a new computer and im trying to install hem. everything installs fine until the end, where a message pops up and says "postgre sql was not installed". When i click on the message, it says connection to database failed: could not find server: connection refused (... Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?

Patvs
11-30-2010, 03:49 AM
click on Start and go to Programs -> Accessories -> Command Prompt

* If you are on Vista, rightclick and choose "Run as Administrator".


A black box should appear. Type 'net user postgres /del' (without the quotes) and press enter.

The user is now deleted and you can (re)install PostgreSQL.


Try download the SQL installer from PostgreSQL: The world's most advanced open source database (http://www.postgresql.org)
If 8.4.5 fails, try 9.0.1 (on a different port number for example 5433)
If they both fail, try 8.2.x