SqlServer教程

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

本文主要是介绍【PostgreSQL教程】· PostgreSQL报错提示:Is the PostgreSQL Server Running Locally and Accepting?,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

文章目录

  • 1. 问题描述
  • 2. 解决方案

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教程】· PostgreSQL报错提示:Is the PostgreSQL Server Running Locally and Accepting?的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!