修改
sudo su
./mysqld_safe --skip-grant-tables &
mysql.server restart
mysql -u root
SET PASSWORD FOR 'root'@'localhost' = 'Zeaho123456!';
sudo su
./mysqld_safe --skip-grant-tables &
mysql.server restart
mysql -u root
SET PASSWORD FOR 'root'@'localhost' = 'Zeaho123456!';
本文标题:忘记MySQL密码
本文链接:https://www.haomeiwen.com/subject/iosqpktx.html
网友评论