windows安装瀚高数据库

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.youkuaiyun.com/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

在这里插入图片描述
在这里插入图片描述

如果还是不行,可以试试去防火墙添加该数据库端口号。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值