亲测有效,小白易懂!!!
解决**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
借鉴的大神的,绝对绝对有效,跪了
原文链接:https://blog.csdn.net/qq_383698639/article/details/81298469