How to thoroughly uninstall MySQL

Source: Internet
Author: User

From: http://www.heiqu.com/show-64764-1.html

 

Content:


During MySQL installation, the underlying encoding method was neglected and the default ASCII encoding format was used. As a result, the problem of Chinese conversion followed one after another. I wanted to uninstall MySQL and reinstall it, an error occurred while uninstalling the package. As a result, the package cannot be installed and cannot be installed after being found online for more than an hour.

Reinstalling the system is always a good solution, but who would like to do so :(

Later, I did not intend to find that the uninstallation was not completely caused by the uninstallation. The following describes how to unmount MySQL 5.1:

1. add and delete programs in the control panel.

2. Delete the my. ini file in the MySQL folder. If the file is backed up, delete all the folders directly.

3. Start-> Run-> Regedit. Check whether the registry has been 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 (I did not find the directory when I uninstalled it, and it was still completely uninstalled after I skipped it .)

  4. This article is critical.

C: \ Documents ents and Settings \ All Users \ Application Data \ mysql

MySQL files must be deleted. 

Note: The application data folder is hidden. To open a folder, choose menu bar tool> folder option> View> hide file and folder. All files and folders are displayed.

After completing the above four steps, restart OK! Install it again

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.