修改mysql root的密码

use mysql;
update user set Password = Password('newPwd') where user='root';//更改root用户的密码
flush privileges;

posted on 2014-07-05 19:11  pushStack  阅读(137)  评论(0编辑  收藏  举报