MySQL database forgot the administrator password solution
1.Enter the command mysqld --skip-grant-tables (if mysql.exe process net stop mysql)
2.Enter the command mysql
Complete database entry without password~
3.Change username and password
mysql -uroot -p1234
Red is the place that can be changed, username and password
0 Comments