[英]could not connect PostgreSQL server
When I am trying to connect to PostgreSQL, I gain this message :当我尝试连接到 PostgreSQL 时,我收到以下消息:
Unable to connect to server:
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?
And When I Installed PostgreSQL, I gain the ERROR :当我安装 PostgreSQL 时,我得到了错误:
Problem running post-install step. Installation may not complete correctly. The database cluster initialisation failed.
My assumption is that I have some problems with data
folder in PostgreSQL because data
folder is empty.我的假设是,我有一些问题与
data
文件夹中的PostgreSQL,因为data
文件夹为空。
The error suggests that you have just installed the postgres software and not configured it.该错误表明您刚刚安装了 postgres 软件并且没有对其进行配置。
Please follow the below link to configure it as well.请按照以下链接进行配置。
setting up and configuring postgres on windows 在 Windows 上设置和配置 postgres
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.