How to remove MySQL completely

Source: Internet
Author: User

MySQL uninstall is really a headache, many times can not be completely uninstalled, this will cause us to reinstall the new MySQL.

The following describes, under the WINDOWS10 system, how to completely remove the uninstall MySQL ...

1 "Stop MySQL Service

Start-"All Apps-" Windows Management Tools-"service, stop the MySQL service.

2 "Uninstalling MySQL server

Control Panel \ All Control Panel items \ Programs and features, uninstall MySQL server.

3. Remove the MySQL folder from the MySQL installation directory (my installation directory is C:\Program Files (x86) \mysql)

4. Run the "regedit" file to open the registry

Delete the hkey_local_machine\system\controlset001\services\eventlog\application\mysql folder.
Delete the Hkey_local_machine\system\controlset002\services\eventlog\application\mysql folder.
Delete the Hkey_local_machine\system\currentcontrolset\services\eventlog\application\mysql folder.
If you do not have the appropriate folder, you do not have to delete it.

5 " Delete the" C:\ProgramData\MySQL "folder under C , if you can't delete it, use 360 to smash it down.

the ProgramData file is hidden by default and is visible after the settings are displayed, or directly copy the C:\ProgramData to the address bar to enter! Remove the entire MySQL folder ...

6 "All Apps-" Windows Management tools-"service
if MySQL has been uninstalled, but through the start-all apps-Windows management Tools-services "to see that the MySQL service still remains in system Services. I do not want to change the service name, how to do it.

Simply enter a command in CMD to delete the service:
SC Delete MySQL//Here's MySQL is the service name you want to delete
The service is then deleted.

Then, you can reload the MySQL database!!!

Reference article: http://www.jb51.net/article/118052.htm

How to remove MySQL completely

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.