我是PostgreSQL新手,当我尝试在Windows 10设备上安装PostgreSQL 13 / 14时,遇到以下错误。
"The environment variable COMSPEC does not seem to point to the cmd.exe or there is a training semicolon present. Please fix this variable and restart installation."
Run Code Online (Sandbox Code Playgroud)
COMSPEC 系统变量
内容 installbuilder_installer.log
Log started 05/06/2022 at 17:51:52
Preferred installation mode : qt
Trying to init installer in mode qt
Mode qt successfully initialized
Setting variable whoami from C:\WINDOWS\System32\whoami
Script exit code: 0
Script output:
atrapa\junkwong
Script stderr:
Executing …Run Code Online (Sandbox Code Playgroud) 我有Windows Server 2003机器,我试图安装Postgres 9.2.在安装结束时,它会弹出一个警告说
运行安装后步骤时出现问题.安装可能无法正确完成.读取文件C:\ Program Files\PostgreSQL\9.2\data\postgresql.conf时出错
我检查该文件postgresql.conf中C:\Program Files\PostgreSQL\9.2\data,发现它不存在.
我还发现数据文件夹下没有太多,除了pg_log文件夹也是空的.
关于我可能做错的任何想法?