首先登录MySQL。 mysql> use mysql; mysql> update user set password=password(‘123‘) where user=‘root‘ and host=‘localhost‘; mysql> flush privileges;
mysql 修改密码
原文:http://www.cnblogs.com/gjack/p/7512566.html