Install MySQL at the end of start service to stop the solution
- 2020-06-07 05:24:59
- OfStack
Because my MySQL suddenly couldn't open for some reason and reported an error of 10061, I checked the reason that it was because the database was connected to a conflict, so The trouble was so bad that I reinstalled it. In the last step of start service stopped, the installation failed, and I reinstalled N again, but it still failed. The reason is that MySQL has been installed on the computer to register the project, there are many ideas and methods on the Internet, I tried one and succeeded. Basic Step 1:
1, uninstall MySQL application, to uninstall MySQL service, command window: sc delete MySQL
2. Clean up the registry (find out and delete)
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
3. Clean up residual file items, especially data files of MySQL
1) Manually delete the residual items in the installation directory
2) Show hidden files and folders (folder options -
>
See -
>
windows 7, MySQL data files in a hidden ProgramData folder, or the lazy way, type "mysql" in the search box and list all mysql files and folders.
4. Reloading MySQL, according to the normal process, succeeded.