報錯是:
1251 - Client does not support authentication protocol requested by server, consider upgrading MySOL client
解決方案是進(jìn)入mysql命令模式
alter user 'root'@'localhost' identified with mysql_native_password by 'root';
flush privileges;
引號內(nèi)的內(nèi)容替換成自己對應(yīng)的內(nèi)容