問題
navicat 連接 mysql8 的時候報錯
Client does not support authentication protocol requested by server; consider upgrading MySQL client
解決方法
1、windows 命令行登錄 mysql8
1-1、進入到MySQL的bin目錄下
cd C:\Program Files\MySQL\MySQL Server 8.0\bin>
1-2、啓動mysql
.\mysql -u root -p
2、輸入密碼,登錄成功後,運行2條命令即可解決
2-1、alter user 'root'@'localhost' identified with mysql_native_password by '****';
2-2、flush privileges;
3、OK