相关疑难解决方法(0)

PostgreSQL安装错误:环境变量COMSPEC似乎没有指向cmd.exe

我是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 系统变量

这是我的 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 postgresql installation

7
推荐指数
2
解决办法
2万
查看次数

Postgres安装错误读取文件postgresql.conf

我有Windows Server 2003机器,我试图安装Postgres 9.2.在安装结束时,它会弹出一个警告说

运行安装后步骤时出现问题.安装可能无法正确完成.读取文件C:\ Program Files\PostgreSQL\9.2\data\postgresql.conf时出错

我检查该文件postgresql.confC:\Program Files\PostgreSQL\9.2\data,发现它不存在.

我还发现数据文件夹下没有太多,除了pg_log文件夹也是空的.

关于我可能做错的任何想法?

postgresql-9.2

6
推荐指数
2
解决办法
1万
查看次数