windows安装瀚高数据库
windows版瀚高数据库连接不了,Connection to localhost:5866 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
·
windows安装瀚高数据库报错问题
错误描述:
Connection to localhost:5866 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Connection to localhost:5866 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Connection refused: connect
Connection refused: connect
查了很多都无法解决,当初还以为是本地安装的postgreSql影响到它,去停掉postgreSql还是不行;最后查到一个博主说的可能是运行内存不够导致的。[参考博客](https://blog.csdn.net/yesmldn/article/details/140039849)
解决办法:
去你安装瀚高数据目录(如:D:\highgo\database\6.0.4)搜索postgresql.conf该文件修改内存配置,原来的2048的我改为1024就可以了;最后打开任务管理器,启动hgdb-enterprise-6.0.4即可。
修改postgresql.conf
maintenance_work_mem = 1024MB #maintenance_work_mem = 64MB # min 1MB
如果还是不行,可以试试去防火墙添加该数据库端口号。

DAMO开发者矩阵,由阿里巴巴达摩院和中国互联网协会联合发起,致力于探讨最前沿的技术趋势与应用成果,搭建高质量的交流与分享平台,推动技术创新与产业应用链接,围绕“人工智能与新型计算”构建开放共享的开发者生态。
更多推荐
所有评论(0)