service mysqld stop
mysqld_safe --skip-grant-tables &
mysql -u root
use mysql;
update user set authentication_string=password(‘1111‘) where user=‘root‘;
flush privileges;
quit
service mysqld restart忘记MYSQL密码
标签:grant 忘记 mys cat comm The ant server root