How do you start over completely w Postgres?

Forum with tips, support, etc, on using the PostgreSQL database with Poker Tracker. Please post any PostgreSQL questions here.

How do you start over completely w Postgres?

Postby schuttedog » Mon May 26, 2008 2:05 am

I've been trying some things to get my postgres working again and can't pull it off. I figure my best shot now is to try and start fresh with postgres. What steps should I take to get rid of postgres completely? I removed the program and deleted a couple folders of postgres but when I reinstall postgres I can't get past the configuration while installing. I'm thinking there are some traces of the program that I'm not getting rid of. Thanks.
schuttedog
 
Posts: 16
Joined: Tue Mar 18, 2008 1:23 pm

Re: How do you start over completely w Postgres?

Postby ptrack pat » Mon May 26, 2008 8:41 am

Use the Start > Settings > Control Panel > Add or Remove Programs window to uninstall it.

Then manually delete the remnants of the c:\program files\postgresql folder.

Go to the Start menu and select Run. Type COMMAND on the window that opens and hit Enter. On the DOS window type:

net user postgres /delete

and hit Enter to run it. Type Exit to close the DOS window.

Now reinstall PostgreSQL.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: How do you start over completely w Postgres?

Postby Gizmore » Fri Jun 06, 2008 7:34 am

EDIT: SORRY, MY BAD...

Forgot space between "postgres /delete"... I'm abit of a newb when it comes to DOS.

Hope you didnt waste any time.

Best regards :EDIT



Hi.

After having trouble installing the first time i followed your advice and deleted as above.
When intalling again I get the message saying "User "postgre" could not be created. The user account already exists !"

I have uninstalled in control panel and deleted the folder from programfiles.
I also followed your advice about deleting it in DOS.

Any idea whats wrong?

Thanks inn advance.

Barry
Gizmore
 
Posts: 1
Joined: Fri Jun 06, 2008 7:25 am

Re: How do you start over completely w Postgres?

Postby ptrack pat » Fri Jun 06, 2008 8:21 am

If you still get this error when you install PostgreSQL then you didn't use the net user command correctly. You need to make sure you enter it exactly as I stated above

net user postgres /delete

with a space between postsgres and / and no space between the / and delete.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: How do you start over completely w Postgres?

Postby seemore » Mon Jul 07, 2008 11:35 am

How do you do this in vista?
seemore
 
Posts: 2
Joined: Mon Jul 07, 2008 11:31 am

Re: How do you start over completely w Postgres?

Postby ptrack pat » Mon Jul 07, 2008 12:55 pm

The same way except you disable the UAC first before reinstalling PostgreSQL.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: How do you start over completely w Postgres?

Postby seemore » Mon Jul 07, 2008 1:06 pm

thanks, solved.
seemore
 
Posts: 2
Joined: Mon Jul 07, 2008 11:31 am


Return to PostgreSQL Forum

Who is online

Users browsing this forum: No registered users and 0 guests