1.打开Command Line Client
2.输入ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'mysql密码';
记得有;号
3.输入FLUSH PRIVILEGES;
ok 解决
2.输入ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'mysql密码';
记得有;号
3.输入FLUSH PRIVILEGES;
ok 解决