pgsql启动后执行psql显示报错:
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
Is the server running locally and accepting connections on that socket?
只需要添加一条软连接:
ln -s /tmp/.s.PGSQL.5432 /var/run/postgresql/.s.PGSQL.5432
- server socket quot connections connectionserver socket quot connections apr_socket_recv connection压力centos7 os-ubuntu-server-connect messagingexception quot exception connect allowed connect server mysql quot connection decoding docker quot multiprocessing connection oserror 10252 quot connection 127 quot connection attributes truncated err_proxy_connection_failed quot connection