$ psql
psql: 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"?
运行错误
postmaster -D /usr/local/pgsql/data/ > logfile 2>&1 &
再试验一下,搞定~
原文链接:https://www.f2er.com/postgresql/197085.html