Mysql's reload Problem solving method _mysql

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.