The solution to enter current root password when installing MYSQL
- 2020-05-10 23:03:32
- OfStack
Eventually, the following solutions will emerge:
1. Clear the MYSQL installation directory and the default is C:\Program Files
2. Clear the MYSQL data storage directory, 1 in the C:\Documents and Settings\All Users. windows\Application Data directory
Note that the Application Data folder is hidden by default - by tool > Folder options - > See - > Show all
Files with folders to set hidden files visible.
Delete the MySQL folder
3. This step is very important. No matter how I uninstalled MYSQL before, I still had to enter the original password to clear the remaining files.
Delete registry data via regedit and 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 OK!! .
1. Clear the MYSQL installation directory and the default is C:\Program Files
2. Clear the MYSQL data storage directory, 1 in the C:\Documents and Settings\All Users. windows\Application Data directory
Note that the Application Data folder is hidden by default - by tool > Folder options - > See - > Show all
Files with folders to set hidden files visible.
Delete the MySQL folder
3. This step is very important. No matter how I uninstalled MYSQL before, I still had to enter the original password to clear the remaining files.
Delete registry data via regedit and 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 OK!! .