出现 Client does not support authentication protocol requested by server…的解决方案
//cmd
mysqladmin -u root -p password 123456q
mysql -u root -p
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456q';
FLUSH PRIVILEGES;
如果cmd中出现mysql不是内部命令,需添加mysql的环境变量,
ex: C:\Program Files\MySQL\MySQL Server 8.0\bin 添加至path