有人可以帮助我,因为我有在Django的一个项目,我在最后阶段,我不想使用SQLite了,所以我安装PostgreSQL的。PostgreSQL的:无法连接到服务器:连接被拒绝
安装后,它是不可能的,我连接从命令提示符给psql。 (在Windows 10)
这里是显示错误:
psql: could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
确保你有postgres守护进程运行 – karthikr
你是什么意思?因为我是新的postgreSql,我必须确保守护进程正在运行? – Lemayzeur
你是如何安装postgresql的?如果您使用EnterpriseDB安装程序,则应该有一个名为postgresql的服务,该服务应该正在运行。 – Eelke