1.打开Command Line Client
2.输入ALTER USER ‘root‘@‘localhost‘ IDENTIFIED WITH mysql_native_password BY ‘mysql密码‘;
记得有;号
3.输入FLUSH PRIVILEGES;
ok 解决
2022-10-12 13:51:01
1.打开Command Line Client
2.输入ALTER USER ‘root‘@‘localhost‘ IDENTIFIED WITH mysql_native_password BY ‘mysql密码‘;
记得有;号
3.输入FLUSH PRIVILEGES;
ok 解决