关于postgresql的psql不好用的解决

 

$ 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 &

再试验一下,搞定~


你可能感兴趣的:(linux,psql,postgrsql)