MySQL plugin 'caching_sha2_password' cannot be loaded
进入mysql,执行如下代码即可
ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; 注意这里的password是你自己变更之后的密码!