MySQL said: Authentication plugin 'caching_sha2_password' cannot be loaded...

OUTLINE

  • 问题描述
  • 解决方案

问题描述

在mac下,用sequel pro连接数据库,出现以下问题:

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

其中,Authentication plugin的意思是“验证插件”,即关于密码的“caching_sha2_password”这个插件不能加载

解决方案

主要分为以下步骤:

① 在“系统偏好设置”中打开“MySQL”

② 在“MySQL”中点击“Initialize Database”

③ 进入“Initialize Database”之后,重新设置足够长度密码以及选择第二个“Use legacy password Encryption”

④ 重启MySQL,重新打开sequel pro连接数据库,成功!

猜你喜欢

转载自blog.csdn.net/qq_32618817/article/details/80596398