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