Solution of Forgetting Administrator Password in mysql Database
- 2021-10-13 08:55:46
- OfStack
1. Enter the command mysqld-skip-grant-tables (before shutting down the process net stop mysql for mysql. exe)
2. Enter the command mysql
Complete database entry without password ~
3. Change username and password
mysql -uroot -p1234
Red is the changeable place, user name and password