PDA

View Full Version : Postgres



The_Whinger
07-16-2011, 08:41 AM
Good, Afternoon,

I'm trying to reinstall postgres but there is already a user and I cant' delete it. I have the password though but when i install postgres, it does not work s I guess that this is the problem. This is a very basic question but i did not find the answer. I have windows 7.

Many thanks for your support

Patvs
07-16-2011, 09:59 AM
Delete the postgres user:
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 /delete' (without the quotes) and press enter.

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