任何人都可以解释为什么我无法在 navicat 中创建新的连接 postgres 吗?错误有可能是navicat和Postgres版本造成的吗?错误说:
不支持身份验证方法10
我尝试重新安装 Postgres,但没有成功。
更改关于流动内容的
pg_hba.conf
:
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
Postgres 14 的功能
本地所有人都信任
托管所有 127.0.0.1/32 信任
托管所有所有 ::1/128 信任