postgreSQL安装启动失败汇总
问题一:安装过程中出现此情况,可忽略
Problem running post-install step. Installation may not complete correctly The database cluster initialisation failed.
错误信息如下图:
问题二:pgAdmin 4连接出错
PostgreSQL连接出错,在命令提示符中无法打开,进入 服务 中启动PostgreSQL服务,还是报错,显示:无法连接到服务器,connection refused,
解决办法:
- windows+R,输入services.msc查看postgreSQL服务,启动postgresql服务
- 启动失败
3. 修改 安装时的data目录下的postgresql.conf 恢复到初始值。删除文件中的空NULL值
4. 重新启动服务,使用pgAdmin 4连接即可。