I tried to install postgresql 8.4 in my windows 7 (64 bit). But it fails with following messages in log
Initialising the database cluster (this may take a few min
I know it is not the the solution but installing 32 bit of Postgres, worked for me
I encountered an issue where a username with a space in it on windows fails the postgres installation.
To test:
Very frustrating...
Struggling with this problem for days. Finally got help from the EDB team My problem got solved by doing the following steps :
1) Open the command prompt and go to the following directory:
cd "C:\Program Files\PostgreSQL\10\bin"
2) Once you are inside this "C:\Program Files\PostgreSQL\10\bin"
directory execute the following command:
.\initdb.exe -D "C:\Program Files\PostgreSQL\10\data"
3) At the end of this command you will be promoted to execute a pg_ctl command to start the Postgres cluster. Please execute the command and once you get a message as the server started you are all set to use the Postgres database.
Note: Instead of 10 user whatever version you have installed. If the pg_ctl
command in the third step gives an error after running it in \bin
directory, then try running it in \data
directory. After the above process re-run the installer.