标签:localhost password 忘记密码 mysql update
cmd -->cd 安装路径/bin
C:\Program Files\MySQL\MySQL Server 5.6\bin>mysql -hlocalhost -uroot
use mysql;
update user set password=password(‘newPwd‘) where user=‘root‘ and host=‘localhost‘;
flush privileges;
标签:localhost password 忘记密码 mysql update
原文地址:http://4925054.blog.51cto.com/4915054/1576896