天天看點

[解決]】client does not support authentication問題

今天在用Navicat for mysql 連接配接資料庫的時候,出現了如下問題,找了很多答案,都沒有解決,最後用如下方法成功解決問題。

首先通過CMD視窗登入到mysql,執行一下指令:

use mysql;
alter user 'root'@'localhost' identified with mysql_native_password by '123456';
flush privileges;      

截圖如下: