Install Error : PostgreSQL USER ALREADY EXISTS

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

Install Error : PostgreSQL USER ALREADY EXISTS

Postby Al3xTh3Kid » Wed Feb 04, 2009 10:31 am

I had some problems before with the PostgreSQL and now, when i try to install it again, at the end of the installation it says : cannot create PostgreSQL user , PostgreSQL USER ALREADY EXISTS. And then the instalation goes back. What should i do, because i cannot use PT3 without the PostgreSQL.
Al3xTh3Kid
 
Posts: 3
Joined: Mon Jan 26, 2009 6:20 am

Re: Install Error : PostgreSQL USER ALREADY EXISTS

Postby kraada » Wed Feb 04, 2009 11:13 am

Click Start, click Run, type in "cmd" and hit enter. This will bring up a command prompt. At the command prompt type "net user postgres /delete". This will delete the old postgres user. You can then reinstall PostgreSQL as normal.

If the above fails with a message "System Error 5. Access Denied", and you are in Windows XP, click Start --> Run. Type in C:\Windows\System32 and hit enter. Right click on cmd.exe and click "Run as Administrator". Then delete the postgres user per the directions in the first paragraph of this section.

If you are in Windows Vista and receive this error message, hit the windows key, type 'cmd' and then press ctrl+shift+enter and then enter the "net user postgres /delete" command. Once the user is deleted, you can then install PostgreSQL.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Install Error : PostgreSQL USER ALREADY EXISTS

Postby Al3xTh3Kid » Wed Feb 04, 2009 11:37 am

The first time it says system Error 5. Access Denied, but then i Run as Administrator and it was deleted. Now i install the PostgreSQL and works fine. Thank you :)
Al3xTh3Kid
 
Posts: 3
Joined: Mon Jan 26, 2009 6:20 am


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests