mac系统 MySQL 8.0.11版本,安装成功,使用Navicat连接失败

MySQL安装成功之后,使用navicat连接失败,报错如下:

  

2059 - Authentication plugin 'caching_sha2_password' cannot be loaded: dlopen(../Frameworks/caching_sha2_password.so, 2): image not found

大概意思就是无法加载身份验证插件’caching_sha2_password”

解决

  1. 打开系统偏好设置,找到mysql,点击Initialize Database。
  2. 输入你的密码。
  3. 选择‘Use legacy password‘。
  4. 重启mysql服务。
  5. 现在可以使用Navicat链接。 

猜你喜欢

转载自www.cnblogs.com/Jiangchuanwei/p/9000939.html