暂无图片
antdb数据库连接时,出现“adb: could not connect to server: Connection refusedt”。
我来答
分享
暂无图片 匿名用户
antdb数据库连接时,出现“adb: could not connect to server: Connection refusedt”。

请教一下,antdb数据库连接时,出现“adb: could not connect to server: Connection refused”该怎么办?

我来答
添加附件
收藏
分享
问题补充
2条回答
默认
最新
dbm

是不是端口连接错误。  或者配置文件 监听没打开。listen_addresses = '*'

暂无图片 评论
暂无图片 有用 0
暂无图片
亚信安慧AntDB数据库

解决方式

未指定数据库主机IP。
adb 需要指定 -h 选项 或 在环境变量添加 PGHOST=x.x.x.x

adb -h xxx -d xxx -p xxx -U xxx

暂无图片 评论
暂无图片 有用 0
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏