gpt4 book ai didi

postgresql - 无法连接到 Postgres 服务器

转载 作者:行者123 更新时间:2023-11-29 11:19:39 24 4
gpt4 key购买 nike

我在更新 Windows 后连接 Postgres 服务器时遇到问题。在我更新之前打开数据库没有问题。我在 Postgres 中的数据库也不见了。当我想创建我的新数据库时,它显示了这个错误:

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?

最佳答案

在 Windows 上,只需转到“服务”。启动/重启 postgresql-X64 服务。它对我有用,因为我的服务不知何故处于停止状态。

关于postgresql - 无法连接到 Postgres 服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40532399/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com