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

 

posted @ 2020-08-12 12:26  冰凌花花~  阅读(799)  评论(0编辑  收藏  举报