mac 2059 - Authentication plugin 'caching_sha2_password' cannot be loaded:
mac 2059 - Authentication plugin 'caching_sha2_password' cannot be loaded:
今天在用navicat连接mysql 8.0的时候出现了下面的错误:
2059 - Authentication plugin 'caching_sha2_password' cannot be loaded: dlopen(../Frameworks/caching_sha2_password.so, 2): image not found
解决方法
终端登陆mysql,然后操作步骤如下:
cd /usr/local/mysqlcd bin ./mysql -u root -pALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY ' 你的密码';
参考文献
[1]. Mac 使用 Navicat连接 localhost 报错:2059 - Authentication plugin 'caching_sha2_password' cannot be loaded.
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~