postgresql installation failed

后端 未结 21 1412
你的背包
你的背包 2020-12-24 08:05

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         


        
相关标签:
21条回答
  • 2020-12-24 08:44

    I know it is not the the solution but installing 32 bit of Postgres, worked for me

    0 讨论(0)
  • 2020-12-24 08:45

    I encountered an issue where a username with a space in it on windows fails the postgres installation.

    To test:

    • Reinstalled windows 10 home (restored)
    • Made a user account without the space
    • Postgres installed successfully

    Very frustrating...

    0 讨论(0)
  • 2020-12-24 08:46

    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.

    0 讨论(0)
提交回复
热议问题