- To the scene MySQL introduction My.ini
- Added to the following [Mysqld] Skip-grant-tables
- Win+r hotkey into cmd and then enter the command net stop MySQL last point, make folders MySQL folder under folder of Bin
- Input command mysqld-nt--skip-grant-tables (local test hint a waring does not seem to affect)
- Win+r the shortcut key again enter CMD and enter the command mysql-u root return, this time should enter MySQL
- Select Database user mysql;
- Change Password:update user Set Password=password ("New password") where user= ' root '; Note The uppercase password is encrypted with the new password three characters replaced with their own password
- Kill the MYSQLD-NT process in Task Manager
- Delete the content added in the second entry
- Restart MySQL
- Enter a new password test.
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvc2x5aml0/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">
Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.
Windows next MySQL password forgot to change