使用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
# systemctl restart postgresql-13
navicate测试连接如下:

本文介绍了在尝试使用Navicat连接PostgreSQL数据库时遇到的'authenticationmethod10notsupported'错误的解决方法。通过编辑postgresql.conf和pg_hba.conf文件,将监听地址设为'*'并允许所有IP访问,然后重启PostgreSQL服务,问题得以解决。但请注意,这样的配置可能带来安全隐患,建议仅允许特定IP连接。
1239

被折叠的 条评论
为什么被折叠?



