Thoroughly uninstall MySQL

Source: Internet
Author: User

I just installed mysql. The service name was modified during the installation process, causing the final configuration to be suspended. I had to reinstall it.

But it always fails to be reinstalled, So Google will find the method to thoroughly uninstall MySQL:

The installation of the MySQL server for local testing is always unsuccessful. The reason is that the MySQL server previously installed on the local machine is not uninstalled. To sum up, it takes the following steps to thoroughly uninstall MySQL on Windows:

1. Back up database data files.

2. Close the MySQL service and start the built-in uninstallation of MySQL.Program, Uninstall the MySQL main program.

3. Delete the MySQL installation folder.

4. Search for the MySQL folder (hidden by default) in the C: \ Documents and Settings \ path and delete the MySQL folder. (Default configuration path: C: \ Documents ents and Settings \ All Users \ Application Data \ mysql ).

5. Open the registry and search for MySQL items (note that only the items are searched, and the values and data are not case-insensitive). A total of three results can be found and deleted.

HKEY_LOCAL_MACHINE \ SYSTEM \ controlset001 \ Services \ Eventlog \ Application \ mysql directory deletion ;
HKEY_LOCAL_MACHINE \ SYSTEM \ controlset002 \ Services \ Eventlog \ Application \ mysql directory deletion ;
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \ Application \ mysql directory deletion ;

 

6. Restart your computer. OK. 

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.