How to completely uninstall MySQL

Source: Internet
Author: User

How to completely uninstall MySQL1, the Control Panel in the increase in the removal program to delete

2, delete the My.ini file under the MySQL folder, if the backup is good, you can delete all folders directly

3, start-to-run, regedit look at the registration table these places delete No

Hkey_local_machine\system\controlset001\services\eventlog\application\mysql Directory Removal

Hkey_local_machine\system\controlset002\services\eventlog\application\mysql Directory Removal

Hkey_local_machine\system\currentcontrolset\services\eventlog\application\mysql Directory Delete (I did not find the uninstall time, slightly later still achieve the purpose of full uninstall.) )

4, this is a key  
C:\Documents and Settings\All Users\Application Data\mysql 
There are also MySQL files that must be removed
 

Note: Application Data This folder is hidden, you need to open a folder to select the menu bar tools → folder options → view → hide files and folders one option     Show All files and folders ok     5. When installing MySQL , the system prompts: cannot create Windows service for mysql.error:0

The reason is that the old MySQL service exists in the system, the solution is as follows:

to permanently delete the old MySQL service, the user is required to execute the following command on the command line with administrative privileges: c:\>sc delete mysql [sc] deleteservice SUCCESS

How to completely uninstall MySQL

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.