[原创]MySQL数据库忘记root密码解决办法
MySQL数据库忘记root密码解决办法 1.在运行输入services.msc打开服务窗体,找到MYSQL服务。右键停止将其关闭。如图:
2.在运行输入cmd打开终端。
3.找到MYSQL的安装目录中的bin目录,并在终端下切换到该目录:
4.使用命令:mysqld –skip-grant-tables来启动MySQL服务。输入命令之后回车即可:
5.此时,不要关闭4步骤的窗口。在开启一个cmd终端并也切换到MYSQL的安装目录中的bin目录下:
6.使用命令:mysql -u root登录到MySQL中:
![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAApcAAAFuCAIAAABbe6SKAAAgAElEQVR4nO3dMcgkyXXA8YENDi447uCCgwOdOLCYAx06wQa7iZxssIYViN3oFrRs6MA+cOjV4vAC22Bs9jBS4nDX4MSh10krsiUsOHAgZCdOJSXKL1gH8339VVfVe/VedfV0V8//R7H09FS/elU9029mvvm+Pfz2t7/9k7/4p6cvvqbRaDQajVbd/uNHPzp/O1DFaTQajUYL21ElHUUVp9FoNBpt/XbmKv7mzZs3b97oe6jiNBqNRqOZmlKqF3ovHpZtewl3VPG/+4d/dLXVzwFtS+31g/vH4/0Xn3sP/PKru8fjvWer50/Ltpf3jse7X7xeO43V2sMnx+P9r9yPaloP7fxVfCzerhLuq+L//Zv/k9qf/uXfh/9SxTtrX351N/iwKLouf/7F4+Px+cPJIa/uHeOq/PkXj5NjX907Ho9PXm6ziufmtd12Wt6TyYJMzt3jB1+ec2pUcar4btsqVdz7LtxdxX/5X78yNqp4R+3Rk6hyv35wPyqcr9KL9aMnx2mdeP3g/vF4VbOvd86vwcu+F1+mCC2R87Pn48I+fHJTraOTFdx1nvpKFe+oil/6yfK2fb4XP5hRxXtpp3d4xZLz6EnyTvrZ8+mBr+4dj3fvT94Cfv7F46DeVLWFP1Ff5Cq89E8Bvvzqrng5vrlSn6XAXHphoIpvqnm/iVaMVnFXq3fhS/1cnCq+uzZ+4l2699nzuB6fPsgdj332/Hh8/nBS2sNP0V8/uD92vtp++GR8lk0++w0/Or775Pm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gAA9IoqDgBAr6jiAAD0iioOAECvqOIAAPSKKg4AQK+o4gAA9IoqDgBAr6jiAAD0iioOAECvqOIAAPSKKg4AQK+o4gAA9IoqDgBAr6jiAAD0iioOAECvqOIAAPSKKg4AQK+o4gAA9IoqDgBAr6jiAAD0iioOAECvqOIAAPSKKg4AQK+o4gAA9IoqDgBAr6jiAAD0iioOAECvqOIAAPSKKg4AQK+o4gAA9IoqDgBAr6jiAAD0iioOAECvqOIAAPSKKg4AQK+o4gAA9IoqDgBAr6jiAAD0iioOAECvqOIAAPSKKg4AQK+o4gAA9IoqDgBAr6jiAAD0iioOAECvqOIAAPSKKg4AQK+o4gAA9IoqDgBAr6jiAAD0iioOAECvqOIAAPSKKg4AQK+o4gAA9IoqDgBAr6jiAAD0iioOAECvqOIAAPSKKg4AQK+o4gAA9IoqDgBAr6jiAAD0iioOAECvqOIAAPSKKg4AQK+o4gAA9IoqDgBAr6jiAAD0iioOAECvqOIAAPSKKg4AQK+o4gAA9IoqDgBAr6jiAAD0iioOAECvqOIAAPSKKg4AQK+o4gAA9IoqDgBAr6jiAAD0iioOAECvqOIAAPSKKg4AQK+o4gAA9IoqDgBAr6jiAAD0iioOAECvLFX8/wEUw4nMa6CdXwAAAABJRU5ErkJggg==)
7.使用语句:update mysql.user set password=password('你要改成的密码') where user='root';更改密码。然后使用命令:flush privileges;刷新权限。
8.打开任务管理器,在进程中找到mysql.exe和mysqld.exe进程。并结束。
9.此时,两个终端都退出了mysql界面。
10.回到服务窗体,启动MYSQL服务。
11.使用命令:mysql -uroot -p登录MySQL测试密码是否更改成功。
12.破解成功。