Navicat连接PostgresSQL的时候报authentication method 10 not supported

错误提示:authentication method 10 not supported

不支持身份验证方法 10

原因:是因为postgres下载的配置问题。

解决办法:

1、找到postgres下载安装的路径,找data/postgresql.conf文件,打开

我的安装路径是D:\postgresSQL\PostgresSQL15\data\postgresql.conf

Navicat连接PostgresSQL的时候报authentication method 10 not supported

检查这两个有没有被注释,如果被注释的话,取消注释,#号。

2、打开 D:\postgresSQL\PostgresSQL15\data\pg_hba.conf,修改一下的内容

 Navicat连接PostgresSQL的时候报authentication method 10 not supported

修改完后,重启navicat,连接就好啦

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://net2asp.com/dfe43d3ba4.html