美文网首页
wampserver3.1.6更新mysql密码

wampserver3.1.6更新mysql密码

作者: 足迹人生2017 | 来源:发表于2019-01-15 08:15 被阅读4次

mysql版本是5.7

  1. 启动服务后,找到MYSQL--MYSQL console--弹出命令窗口(刚开始没有初始用户名跟密码,可直接回车执行)
use mysql;
update user set authentication_string=password('自己的密码') where user='root' ;
flush privileges;
quit;

重启整个服务,数据库密码就更换成新的密码

相关文章

网友评论

      本文标题:wampserver3.1.6更新mysql密码

      本文链接:https://www.haomeiwen.com/subject/ixkedqtx.html