摘要: 方法一: # /etc/init.d/mysql stop # mysqld_safe --user=mysql --skip-grant-tables --skip-networking & # mysql -u root mysql mysql> update user set password=password('newpassword') where user='root'; mysql> flush privileges; mysql> quit # /etc/init.d/mysql restart # mysql -uro 阅读全文
posted @ 2013-04-03 13:08 贪狼大叔 阅读(253) 评论(0) 推荐(0) 编辑