标签:
1、进入命令行
mysql -u root -p ‘oldpassword‘;
2 修改root用户的密码;
mysql> update mysql.user set password=PASSWORD(‘新密码‘) where User=‘root‘;
mysql> flush privileges;
mysql> quit
http://ju.outofmemory.cn/entry/157013
http://pan.baidu.com/s/1sjulMBr
标签:
原文地址:http://www.cnblogs.com/luhouxiang/p/4877400.html