antdb数据库连接时,出现“adb: could not connect to server: No such file or diadb: could not connect to server: No such file or directoryt”。

0 dehydration 1年前 335次点击

如题,antdb数据库连接时,出现“adb: could not connect to server: No such file or diadb: could not connect to server: No such file or directoryt”后,该怎么操作?

共 1 条评论
longdba 1年前
0 

解决方式

未指定数据库监听端口。
adb 需要指定 -p 选项 或 在环境变量添加 PGPORT=xxx

adb -p xxx -d xxx -U xxx

添加一条新评论

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