MySQL cannot be installed

Source: Internet
Author: User
Since MySQL has been installed before, after it is uninstalled and reinstalled, The startserver does not respond each time to the last step, because the previous MySQL has not been uninstalled completely. Uninstall step: 1. unmount mysql2. in the control panel, go to the installation disk: ProgramFiles directory, and delete the mysql directory. 3. Delete the directory if there are other disk settings, and delete the empty directory.

Since MySQL has been installed before, after it is uninstalled and reinstalled, the start server does not respond each time to the last step, because the previous MySQL has not been uninstalled completely. Uninstall steps: 1. Go to the control panel to uninstall mysql 2. delete the mysql directory from the installation disk: \ Program Files directory. if you want to delete a directory in another disk, you must also delete the empty directory.

Since MySQL has been installed before, after it is uninstalled and reinstalled, the start server does not respond each time to the last step, because the previous MySQL has not been uninstalled completely.

Uninstall procedure:

1. uninstall mysql on the control panel.

2. Delete the mysql directory from the installation disk: \ Program Files directory.

3. If you want to delete the directory in another disk, you must also delete the empty directory.

4. Go to regedit to modify the registry and delete it:

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

5. Be sure to delete the directory C: \ Documents ents and Settings \ All Users \ Application Data \ MySQL

Because the directory C: \ Documents ents and Settings \ All Users \ Application Data \ MySQL is a system-protected directory, you must first modify the user permission to enter the folder.


The installation is successful after you reinstall it.

For the above content, refer to: mysql installation Failure Analysis

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.