And*_*dre 3 postgresql vps centos dedicated-server
我在我的 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 服务器:致命:没有主机“::1”、用户“xxx”、数据库“xxx_xxx”的 pg_hba.conf 条目,SSL 关闭
"::1" 意味着您正在通过 IPv6 连接。
指定-h 127.0.0.1或添加/取消注释条目到 /in pg_hba.conf:
host all all ::1/128 md5
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2204 次 |
| 最近记录: |