Recently encountered in the work of MySQL reload problem, today to record my resolution process.
First for some reason, I have to uninstall MySQL, and then reload, whether I use the Control Panel uninstall removal Program or security defender Uninstall, will encounter a problem is to install to the following map location, server start on the program unresponsive, has been dead there:
So, the Internet everywhere to find solutions according to the majority of people say, I tried not to, according to death:
Install MySQL show not responding, generally shown in the installation of MySQL program in the last step of 2, 3 will not move.
This is generally the case where you have previously installed a MySQL database service item that is occupied.
Workaround:
One way: You can install MySQL when in this step its default service name is "MySQL" just need to change the name on it.
Two ways:
1, uninstall MySQL
2, delete the installation directory and data storage directory
3, in the registry (REGEDIT) query MySQL, all delete
4, in the C-disk query MySQL, delete all
5, reinstall on the good
Note that the registry cmd-> regedit
1.hkey_local_machine\system\controlset001\services\eventlog\application\mysql Directory
2.hkey_local_machine\system\controlset002\services\eventlog\application\mysql Directory
3.hkey_local_machine\system\currentcontrolset\services\eventlog\application\mysql Directory
4.hkey_local_machine\system\currentcontrol001t\services\mysql Directory
5.hkey_local_machine\system\currentcontrol002\services\mysql Directory
6.hkey_local_machine\system\currentcontrolset\services\mysql Directory
7. Delete C:\Documents and Settings\All Users\Application Data\mysql Directory
Choose one of the above two methods, reinstall the new version of MySQL is OK.
Note: Be sure to reboot the computer after the deletion is complete before installing.
The above method has been installed for an afternoon, and ultimately not.
Finally, because my server is a Windows Server 2008 RC
So I guess compatibility is not the issue I'm under the latest mysql5.5.28
So in the following figure this step I removed the hook:
Then locate the "MySQLInstanceConfig.exe" program under the Bin folder under the MySQL installation directory, and right-click the property to set the following figure:
Double-click the MySQLInstanceConfig.exe program step by step down, the installation succeeded Finally, haha