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