PDA

View Full Version : postgresql installation problem



mbn donk
06-24-2009, 12:55 PM
hi, i had the trial version of this software before and ended up screwing with the postgre and uninstalled it. Now that i've bought the full version, i'm trying to reinstall postgresql and i get this message when on the "service configuration" step:

Data directory already contains a postgresql database of this version. This database will automatically be used, there is no need to initb. If you want a clean database, remove the existing data directory and try again.

What do i need to do in this situation?

fozzy71
06-24-2009, 01:00 PM
You must *fully* remove PostgreSQL if you want to install it again.

- Uninstall from control panel. add/remove programs
- manually delete the Program Files\Postgresql folders
- run the command (no quote marks) - start > run > 'cmd' > "net user postgres /delete"
- reboot.
- install again, as admin, with UAC off.

mbn donk
06-24-2009, 01:21 PM
wow thanks. I was working on fixing this for about an hour and a half now, and you guys got it fixed in 5 minutes.

fozzy71
06-24-2009, 01:39 PM
Your welcome. Closing this.