Introduction: This is a detailed page for MySQL to solve the problem of entering the current root password during installation. It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 340524 'rolling = 'no'>
When installing MySQL, you will find that you need to enter the current Root Password
I do not remember installing it on my computer before (your system has installed MySQL and you will need to enter the original password when reinstalling it. If it is the first time
Installation will not appear), search for solutions online.
Ultimately, the following solutions are provided:
1. Clear the installation directory of MySQL. The default value is c: \ Program Files.
2. Clear the MySQL data storage directory, which is generally in the C: \ Documents and Settings \ All users. Windows \ Application Data Directory.
(Note that the application data folder is hidden by default. You can choose tools> Folder Options> View> show all
File and folder to hide the file visibility ).
Delete a MySQL folder
3. This step is very important. No matter how I unmount MySQL to clear the residual files, I still need to enter the original password. Then I tried to find the registry and it was valid after clearing it.
Delete registry data and use Regedit to delete the following files:
Reference
HKEY_LOCAL_MACHINE/system/controlset001/services/EventLog/applications/MySQL
HKEY_LOCAL_MACHINE/system/controlset002/services/EventLog/applications/MySQL
HKEY_LOCAL_MACHINE/system/CurrentControlSet/services/EventLog/applications/MySQL
Finally, everything is OK !!!...
Love J2EE follow Java Michael Jackson video station JSON online tools
Http://biancheng.dnbcw.info/php/340524.html pageno: 7.