$ 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 &
再试验一下,搞定~
$ 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://my.oschina.net/jing31/blog/6294