PDA

View Full Version : Reinstalling postgre major problems ;/.



Chamie
10-29-2009, 04:05 PM
I decided to reinstall my postgre as I forgot the password, not only did I reinstall it with the uninstaller, but also removed the postgre folder.

Now when I try to reinstall it asks for my old password, I've been googling for solutions but they all refer to files that I can't find ;/.
So how to reinstall it?

EDIT: Think I solved the problem by installing 8.3 instead of 8.4 but the question still remains regarding 8.4, although it's no longer a very prioritated question :)

fozzy71
10-29-2009, 04:53 PM
To reinstall sql 84 to a clean DB install.


For reinstalling SQL to a new/empty DB, please follow these steps:

1) Uninstall PostgreSQL from the Windows Control Panel.
2) manually delete or rename the Program Files\Postgresql folders
3) run the command - start > programs > accessories > command prompt > right-click > run as administrator

net user postgres /delete
4) reboot.
5) Install PostgreSQL 8.4, with your firewall uninstalled or turned off if windows firewall - http://www.enterprisedb.com/products/pgdownload.do#windows