1. 问题:Client does not support authentication protocol requested by server
进入MySQL命令行,运行下面的命令
- 方案1
alter user 'root'@'localhost' identified with mysql_native_password by '123456';
flush privileges;
- 方案2
use mysql;
update user set authentication_string=password('123456'),plugin='mysql_native_password' where user='root';