A problem occurred when I uninstalled mysql and re-installed it: cocould not start the service MySQL. error: 0 solves the problem when MySQL is re-installed: cocould not start the service MySQL. error: 0, because the old MySQL is not completely uninstalled. When you uninstall the old MYSQL Database Service from your computer, stop the MYSQL service in the WINDOWS service first. Go to the add and delete programs in the control panel to delete the MYSQL service, but you cannot completely delete the MYSQL service, so you need to clear your MYSQL service in the Registry (regedit. Www.2cto.com and then start to run the input: regedit has several places: HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Services \ Eventlog \ Application \ MySQL directory to delete;
HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet002 \ Services \ Eventlog \ Application \ MySQL directory deletion;
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \ Application \ MySQL directory deletion;