标签:
忘记mysql密码肿么破;
service mysqld stop;停掉mysql
mysqld_safe --skip-grant-tables &; 开启安全模式
mysql;
use mysql; 选择数据库
update user set password=password("password") where user=‘root‘; 执行修改
flush privileges; 刷新
标签:
原文地址:http://www.cnblogs.com/bin-pureLife/p/4598156.html