【发布时间】:2018-11-07 18:27:07
【问题描述】:
我正在尝试通过 ubuntu 中的命令行连接到 postgresql,但它显示以下错误:-
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
对于这个错误,我已经尝试了很多谷歌的解决方案,但都没有成功。谁能帮我解决这个问题?
【问题讨论】:
-
见here
标签: postgresql command-line ubuntu-16.04 postgresql-9.5