psql:无法连接到服务器:没有那个文件或目录"Centos7"
psql: could not connect to server: No such file or directory "Centos7"
无法访问 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.pid但是没有找到
您的服务器已关闭或至少不在您的 psql 命令认为的位置。您可以在系统中搜索 postgres.conf,它应该会告诉您它在哪个端口上,您可以尝试手动启动服务器。我将从寻找 conf 文件开始。 /var/log 中可能有日志记录,如果是服务器出现问题而不是您不知道 port/dbname.
,您可以检查更多线索
祝你好运
无法访问 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.pid但是没有找到
您的服务器已关闭或至少不在您的 psql 命令认为的位置。您可以在系统中搜索 postgres.conf,它应该会告诉您它在哪个端口上,您可以尝试手动启动服务器。我将从寻找 conf 文件开始。 /var/log 中可能有日志记录,如果是服务器出现问题而不是您不知道 port/dbname.
,您可以检查更多线索祝你好运