mysql -u root ip;
1、use mysql;
2、alter user 'root'@'localhost' identified with mysql_native_password by '新密码';
3、flush privileges;
mysql -u root ip;
1、use mysql;
2、alter user 'root'@'localhost' identified with mysql_native_password by '新密码';
3、flush privileges;