postgresql error /tmp/.s.PGSQL.5432

 

psql: error: could not connect to server: could not connect to server: No such file or directory

Is the server running locally and accepting

connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

通过升级postgresql的方法解决了这个问题

 

brew postgresql-upgrade-database

 

postgresql error /tmp/.s.PGSQL.5432

上一篇:Qmgo 开源了! 更好用的 Go 语言 MongoDB driver


下一篇:MySQL下载安装、基本配置、问题处理