摘要: 1. 停止mysqld; /etc/init.d/mysql stop2. 用以下命令启动MySQL,以不检查权限的方式启动; mysqld --skip-grant-tables &3. 然后用空密码方式使用root用户登录 MySQL; mysql -u root4. 修改root用户的密... 阅读全文