postgresql installation failed

后端 未结 21 1531
你的背包
你的背包 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:21

    I had the same problem today when installing postgres 9.6.19 on windows 10. Solution: Neither the installation path nor the windows path variable may contain a blank! Near to the end of the installer log file (found in wondows %temp% dir with a name like bitrock_installer_16156.log) i found:

    Script stderr: "\UnxUtils\usr\local\wbin\";"C:\Program" kann syntaktisch an dieser Stelle nicht verarbeitet werden.

    where the installation directory i set as well as my windows %PATH% variable contained

    C:\Program Files\
    

    Workaround: open a command prompt as administrator and type:

    set path=C:\WINDOWS\system32
    PostgreSQL-9.6.10-1-win64-bigsql.exe
    

    And then of course choose a path not containing a blank. That did it for me.

提交回复
热议问题