当出现authentication plugin 'caching_sha2_password'错误时 用命令行登录mysql并执行以下代码
mysql -uroot -p123456;
alter user 'root'@'localhost' identified with mysql_native_password by '你的密码';
本文共 222 字,大约阅读时间需要 1 分钟。
当出现authentication plugin 'caching_sha2_password'错误时 用命令行登录mysql并执行以下代码
mysql -uroot -p123456;
alter user 'root'@'localhost' identified with mysql_native_password by '你的密码';
转载于:https://my.oschina.net/u/3802803/blog/2252082