标签:
mysql -uroot -p
use mysql
update user set Password = password(‘123456‘) where User=‘root‘;
flush privileges;
Linux下MySQL忘记root密码怎么办
原文地址:http://www.cnblogs.com/zhizhong/p/4320515.html