Mac下Mysql:Authentication plugin ‘caching_sha2_password’ cannot be loaded

在命令行下可以登录root,但是在navicat里连接不上

网上说好像是因为密码加密问题(加载不到加密插件?)…

错误: Authentication plugin ‘caching_sha2_password’ cannot be loaded:
dlopen(/usr/local/mysql/lib/plugin/caching_sha2_password.so, 2): image
not found

解决方法:

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '要设置的新密码';

一篇关于mysql的:
https://www.geek-share.com/detail/2768410959.html

你可能感兴趣的:(Mysql)