我一直在尝试在我的机器(Windows 7 64位)上安装64位版本的PostgreSQL 9.2 for Windows并收到此错误:
The environment variable COMPSPEC does not seem to point to the cmd.exe or there is a trailing semi colon present.
我已经以管理员身份安装了它.
我禁用了防病毒软件(Microsoft Security Essentials)和防火墙.
运行:
"%COMSPEC%" /C "echo test ok"
Run Code Online (Sandbox Code Playgroud)
回 test ok
我检查了我的系统环境变量是否有尾随半冒号,我找不到任何东西.
然后我安装了32位版本并设法使用不同的错误消息到达安装结束:Problem running post-install step. Installation may not complete correctly Error reading the C:\Program Files (x86)\PostgreSQL\9.2\data\postgresql.conf但postgresql.conf该目录中没有文件.它确实安装了应用程序,当我尝试连接服务器上的红色X时,它在底部显示失败,并且在输入密码后它将无法连接.
如何连接到此服务器连接?