【发布时间】:2020-12-06 18:42:04
【问题描述】:
我刚刚将 pgAdmin 更新到 4.23 版,将 PostgreSQL 更新到 12 版。我还删除了所有以前的数据库和 pgAdmin 安装。所以它应该是一个全新的安装(我还清理了以前版本的所有剩余部分)。
现在,当我尝试连接到本地数据库服务器时,我什至还没有输入密码:
could not connect to server: Connection refused (0x0000274D/10061)Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5433? 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 5433?
服务正在运行,我可以使用命令行工具,它响应正确,但由于某种原因我无法使用 pgAdmin。
>psql -V
psql (PostgreSQL) 12.3
【问题讨论】:
-
在`postgresql.conf`和
pg_hba.conf中改变你的listen_address
标签: postgresql pgadmin