首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法连接PostgreSQL服务器

无法连接PostgreSQL服务器
EN

Stack Overflow用户
提问于 2020-01-24 21:21:55
回答 1查看 51关注 0票数 0

当我尝试连接到PostgreSQL时,收到以下消息:

代码语言:javascript
复制
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?

当我安装PostgreSQL时,我得到了错误:

代码语言:javascript
复制
Problem running post-install step. Installation may not complete correctly. The database cluster initialisation failed.

我的假设是我在PostgreSQL中的data文件夹有一些问题,因为data文件夹是空的。

EN

回答 1

Stack Overflow用户

发布于 2020-01-24 21:26:12

该错误表明您刚刚安装了postgres软件,但没有对其进行配置。

也请点击下面的链接进行配置。

setting up and configuring postgres on windows

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59897310

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档