我在我的 centos vps 中使用 postgre 收到此错误
无法连接到 PostgreSQL 服务器:致命:没有主机“::1”、用户“xxx”、数据库“xxx_xxx”的 pg_hba.conf 条目,SSL 关闭
这是我的 pg_hba.conf
local all all md5
host all all 127.0.0.1/32 md5
Run Code Online (Sandbox Code Playgroud)
一切似乎都正确,但无论我创建和设置什么用户,总是会出现此错误。