使用navicat连接postgresql数据库提示“authentication method 10 not supported”

作者:佚名 来源:网络 点击数: 发布时间:2022年05月05日

问题分析:

使用navicat连接postgresql数据库提示“authentication method 10 not supported”


解决办法:

编辑/var/lib/pgsql/13/data/postgresql.conf

修改

listen_addresses = '*'

编辑/var/lib/pgsql/13/data/pg_hba.conf

增加:

host      all       all   0.0.0.0/0        password

 

然后重启postgresql服务即可

# systemctl restart postgresql-13