-------------------暂停mysqlservice mysqld stop 忘记密码修改流程1,修改mysql配置文件 /etc/my.cnf,在[mysqld]下添加一行skip-grant-tables2, 重启mysql service mysqld restart3, mysql -u root -p不用输入密码就直接进入了mysql mysql修改密码use mysqlupdate user set Password = password('nf123456') whe…