其他分享
首页 > 其他分享> > 2059 - Authentication plugin ‘caching_sha2_password‘ cannot be loaded: dlope

2059 - Authentication plugin ‘caching_sha2_password‘ cannot be loaded: dlope

作者:互联网

问题:

Navicat链接MySQL时报错,如下

解决:

打开MySQL,切换密码模式选项,再次连接,成功。

原因:

mysql8 之前的版本中加密规则是mysql_native_password,而在mysql8之后,加密规则是caching_sha2_password。

解决问题方法有两种,一种是升级navicat驱动,一种是把mysql用户登录密码加密规则还原成mysql_native_password。

本文采用第二种方法。

 

标签:sha2,加密,plugin,2059,MySQL,mysql8,mysql,password,native
来源: https://blog.csdn.net/xiuxiuzhuanshu/article/details/113309076