or am I supposed to type in the command and then restart with the window open without hitting enter?
or am I supposed to type in the command and then restart with the window open without hitting enter?
Just reboot and install postgresql but pick a different postgres user name such as: postgreshm
I just tried reinstalling and ran into the exact problem of the OP, the warning says.
"The specified data directory is not empty.
If you have an existing database with the same version number, you do not need to initialize a database cluster.
If you have an existing database with a different major version you need to back up your old database and create a new one."
I see advice given to OP was to do this-
"You can delete the given data folder (from a previous postgresql installation) and try again or you uncheck the option "Initialize database cluster" and this data folder will be used again."
or this-
"The folder is in the postgresql installation folder, usually c:\program files\postgresql\8.3\data.
For changing the coding you should reinstall it."
what should I do? if it's the second one how how would I find the file to delete?
Thanks
The 2nd advice was just an addition to the first one.
Use your windows explorer or "My computer" symbol to navigate to the given path and delete the folder. The path may be slightly different depending on your system.