【PostgreSQL教程】· PostgreSQL报错提示:Is the PostgreSQL Server Running Locally and Accepting?

文章目录

1. 问题描述

$ psql postgres 
psql: 
error: could not connect to server: could not connect to server: No such file or directory 
Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

上一篇:PostgreSQL数据库Imgr——Relation Lock


下一篇:postgresql之性能优化