合 psql中的错误“psql: error: could not connect to server”的常见原因
现象
1 2 3 4 | [pgsql@lhrpg ~]$ psql psql: error: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/postgresql/pgdata/.s.PGSQL.5433"? |