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连接数据库,成功!


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM