脚本宝典收集整理的这篇文章主要介绍了链接PostgreSQL报错authentication method 10 not supported解决,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
用nivcat链接PostgreSQL报错,如下图
打开C:Program FilesPostgreSQL14Data ,安装默认位置
但是我安装的时候修改了数据存放路径我的在D盘,如下图,打开pg_hba.conf
注释local开的几行,添加如下几行
# "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
最终结果如下图:
在windows服务里重启:PostgreSQL Server就可以链接成功了。
以上是脚本宝典为你收集整理的链接PostgreSQL报错authentication method 10 not supported解决全部内容,希望文章能够帮你解决链接PostgreSQL报错authentication method 10 not supported解决所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。