uninstall postgresql

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

uninstall postgresql

Postby jethro87 » Sun Aug 10, 2008 6:25 pm

I've never gotten postgresql to work on my desktop and have files of it I'm sure scattered on my comp. When I try to install the new version I don't even get half way through the installer before it quits on me with some error message. I'd like to know how to completely remove postgresql and all of its components everywhere in my comp, in the registry, etc, so I can reinstall it properly. Thanks.
jethro87
 
Posts: 11
Joined: Tue Apr 29, 2008 11:48 pm

Re: uninstall postgresql

Postby ptrack pat » Sun Aug 10, 2008 6:48 pm

You should be able to use the Start > Settings > Control Panel > Add or Remove Programs window to uninstall PostgreSQL.
Then manually delete the remnants of the c:\program files\postgresql folder afterwards.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: uninstall postgresql

Postby jethro87 » Sun Aug 10, 2008 8:26 pm

I deleted what i could, when i try to reinstall it on the Service Configuration page I get the message, "Invalid Username Specified:Logon failure: Unknown username or password." I've tried changing the account name, password, and I always get the same message.
jethro87
 
Posts: 11
Joined: Tue Apr 29, 2008 11:48 pm

Re: uninstall postgresql

Postby ptrack pat » Sun Aug 10, 2008 9:09 pm

From the Start menu again select Run. On the window that opens type "COMMAND" and hit OK. This will open a DOS window. Type the following next to the prompt...

net user postgres /delete

and hit ENTER to run it. Then type EXIT to close the DOS window.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: uninstall postgresql

Postby jethro87 » Sun Aug 10, 2008 10:13 pm

thanks pat, it installed. When i go to convert my access database, I get the following error message:

"Error connecting to the default postgresql database

999 - SQLSTATE = IM002
Microsoft ODBC Driver manager Data source name not found and no default driver specified"

In PostgreSQL settings on the heading "ODBC entry to use" the only one listed is PostgreSQL ANSI. I thought I had to use UNICODE for both the ODBC entry to use and encoding. Suggestions?
jethro87
 
Posts: 11
Joined: Tue Apr 29, 2008 11:48 pm

Re: uninstall postgresql

Postby ptrack pat » Sun Aug 10, 2008 10:19 pm

PostgreSQL Unicode should be there. Did you install PostgreSQL 8.3? If so, see here
archives/PT2/viewtopic.php?t=24880
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: uninstall postgresql

Postby allincg » Mon Sep 22, 2008 2:49 am

ptrack pat wrote:From the Start menu again select Run. On the window that opens type "COMMAND" and hit OK. This will open a DOS window. Type the following next to the prompt...

net user postgres /delete

and hit ENTER to run it. Then type EXIT to close the DOS window.


Hello
I am trying to uninstall as well but PostgreSQL 8.2 is not listed in my control panle/add/remove program list.

Can anyone tell me if doing the above "select run etc....... is the same as uninstalling from add/remove program list?

or should I reinstall PSQL 8.2 so my pc can regonize the program and hopefully I can uninstall from add/remove programs list?

thanks
allincg
 
Posts: 3
Joined: Fri Sep 19, 2008 7:50 pm

Re: uninstall postgresql

Postby ptrack pat » Mon Sep 22, 2008 8:15 am

If it's not in the Add/Remove Programs window then there is nothing to remove I guess. The "net user" command just deletes the user "postgres" that was created when PostgreSQL was installed the first time, it doesn't uninstall PostgreSQL.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm


Return to PostgreSQL Forum

Who is online

Users browsing this forum: No registered users and 0 guests