問題
安裝mysql成功之後,想自己弄個數據庫試試,但是報錯。並不是錯誤代號,而是一段代碼:
Authentication plugin 'caching_sha2_password' cannot be
loaded: dlopen(/usr/local/mysql/lib/plugin/caching_sha2_
password.so, 2): image not found
大概意思就是無法加載身份驗證插件’caching_sha2_password”
解決
1.打開系統偏好設置,找到mysql,點擊Initialize Database。
2.輸入你的新密碼。
3.選擇‘Use legacy password‘。
4.重啓mysql服務。
現在可以使用Navicat鏈接。