服务器是否在主机“ localhost”上运行?

时间:2020-09-25 08:48:48

标签: postgresql server pg-hba.conf

我对postgresql有问题。我看到一些帖子正在编辑pg_hba.conf,但是它不起作用。

这里是问题:

SQL

还有我的pg_hba.conf:

sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not connect to server: Connection refused (0x0000274D/10061)
        Is the server running on host "localhost" (::1) and accepting
        TCP/IP connections on port 32?
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 32?

如果有人可以向我解释,我不明白这是什么问题。

0 个答案:

没有答案