After uninstalling MySQL, the MySQL service is still on, displaying a read description failure, error code 2 problem

Source: Internet
Author: User

I first use 360 software housekeeper, uninstall mysql5.5, uninstall the MySQL, then delete the MySQL installation directory, the hidden folder under the C disk programdata inside the MySQL folder.

then cmd--and Regedit then enter, into the registry, delete the inside of the Hkey_local_machine/system/controlset001/control/mysql, hkey_local_machine/system/controlset002/control/mysql, hkey_local_machine/system/ Currentcontrolset/control/mysql, Hkey_current_user/software/mysql. But I found that again in the Windows service, the MySQL service is still in, and the "< read description failed, error code 2>, double-click it appears, cannot find the file on the local computer What, can't start, also delete." The "MySQL" service exists there, and if you do not delete it, it will have a bad effect on your re-installation of MySQL. When you install MySQL, configure it, in the last third or fourth step, there is a place is the default input "MySQL" This name, here is the name of the service that will be windows, you will find out attentively. At this time, if you still default to use MySQL, will cause the last window in the configuration of the second step of the bottom of the option to start is "X", that is, the service is not enabled, because the previous name "MySQL" Service already exists, not deleted, and it is not open, so it caused the error here. At this time, if you want to configure the success of the line, the configuration step back to the input service name, the "MySQL" to another name, as long as the local computer does not already exist on the same service name.

Later, I checked the Internet, the following methods can be deleted by the name "MySQL" service, the following steps:

1. Open "Start menu-All Programs-Accessories" 2. Right-click Command prompt, clicking Run as Administrator 3. Execute the SC Delete service name at the command Prompt window
I want to delete the service named "MySQL", so the service name should be changed to "MySQL", it should be noted that: After the steps are done here, the need to Restart the computer, the service will be deleted disappear, do not restart the words, It still exists there. After restarting the computer, you put the above mentioned after the installation of MySQL, the configuration of the service to enter the name of the "MySQL", you will find in the last window of the penultimate step will not be wrong, unexpectedly successfully configured.

After uninstalling MySQL, the MySQL service is still on, displaying a read description failure, error code 2 problem

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.