antdb数据库连接时,出现“adb: could not connect to server: Connection refusedt”。

0 dehydration 1年前 275次点击

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

共 1 条评论
longdba 1年前
0 

解决方式

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

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

添加一条新评论

登录后可以发表评论 去登录