小编And*_*dre的帖子

主机的 pg_hba.conf 条目

我在我的 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)

一切似乎都正确,但无论我创建和设置什么用户,总是会出现此错误。

postgresql vps centos dedicated-server

3
推荐指数
1
解决办法
2204
查看次数

标签 统计

centos ×1

dedicated-server ×1

postgresql ×1

vps ×1