身份验证方法10不支持PostgresSQL

问题描述 投票:0回答:2

任何人都可以解释为什么我无法在 navicat 中创建新的连接 postgres 吗?错误有可能是navicat和Postgres版本造成的吗?错误说:

不支持身份验证方法10

我尝试重新安装 Postgres,但没有成功。

postgresql navicat
2个回答
4
投票

更改关于流动内容的

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

0
投票

Postgres 14 的功能

“local”仅适用于 Unix 域套接字连接

本地所有人都信任

IPv4 本地连接:

托管所有 127.0.0.1/32 信任

IPv6 本地连接:

托管所有所有 ::1/128 信任

© www.soinside.com 2019 - 2024. All rights reserved.