How to completely uninstall MySQL

Source: Internet
Author: User

How to completely uninstall MySQL

This digest from: http://www.heiqu.com/show-64764-1.html

The contents are:


Due to the installation of MySQL, inadvertently did not choose the underlying encoding, using the default ASCII encoding format, so a succession of Chinese conversion problem with it, I want to uninstall the reinstallation of MySQL, this uninstall is a problem, resulting in installation is not installed, I haven't solved it for one hours on the internet.

Reloading the system is always a good idea, but who likes to do it: (

Later inadvertently found to be unloaded when no uninstall was completely caused, the following gives the complete uninstall MySQL 5.1 Uninstall method:

1, 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 article is very important

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

There are also MySQL files that have to be removed


Note: Application Data This folder is hidden, need to open a folder to select menu bar tools → folder Options → view → hidden files and folders an option to show all files and folders ok

4 steps above, restart ok! Install it again.

How to completely uninstall MySQL

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.