連線MySQL錯誤:cannot be load 處理方法
mac下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服務。
5.使用sequel Pro連結。