输入banner图图片脚本导航/分类

MySQL更改密码

键入  mysql -u root -p  登录成功,如若已经忘记密码,查看这篇教程https://www.cnblogs.com/shyw/p/12056493.html

键入  use mysql

键入  update mysql.user set authentication_string=password(‘123456‘) where user=‘root‘;       设置数据库密码  适用于mysql 5.7版本

重启服务(要切换到mysql的bin目录!!!!!!!!)   

    net stop mysql;

    net start mysql;

MySQL更改密码

标签:root   word   http   mys   忘记   star   ati   tar   更改密码