摘要:
1. mysql -uroot -p 2. use mysql; 3. update user set authentication_string='' where user='root'; 4. alter user 'root'@'localhost' identified by 'newpas 阅读全文
摘要:
打开cmd:mysql -uroot -p 进入mysql: use mysql 依次执行下面语句 ALTER USER 'root'@'localhost' IDENTIFIED BY '自己的密码' PASSWORD EXPIRE NEVER; #修改加密规则 ALTER USER 'root' 阅读全文