数据库
首页 > 数据库> > 【PostgreSQL教程】· PostgreSQL报错提示:Is the PostgreSQL Server Running Locally and Accepting?

【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"?

标签:psql,PostgreSQL,could,Locally,server,报错,connect,描述
来源: https://blog.csdn.net/lixiaogang_theanswer/article/details/121091283