📌  相关文章
📜  psycopg2.OperationalError:无法连接到服务器:连接被拒绝服务器是否在主机“127.0.0.1”上运行并接受端口 5432 上的 TCP IP 连接? - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:25.906000             🧑  作者: Mango

代码示例2
# It happend because you are not running 
service postgresql status # to check the status of database
# if it's Active: inactive the you are getting this error.
# to over ride this error you should up and run server
service postgresql start