A solution that cannot be uninstalled completely without the MySQL service starting under Windows

Source: Internet
Author: User

The following article is mainly about the MySQL service can not start the case, cannot be completely uninstalled the actual solution of the description of the method, the following is to solve the MySQL service can not start the detailed description of the scenario, I hope in your future study will be helpful to you.

MySQL 5.1 installation process report to apply security setting error resolution method

1. Uninstall MySQL

2, delete folder C:\Documents and Settings\All Users\Application Data\mysql

3, installing MySQL again is OK

[MySQL] Could Not start the service MySQL solution

Install MySQL 5.1.33, the third entry in the Execute configurattion step when you execute the Server Instance Configuration Wizard error, error message could not Start the service MySQL (this situation is usually caused by the installation of MySQL, the uninstallation is not clean.) After uninstalling, reboot and reload. Take a look at the MySQL service, assuming that it fails to unload and can be uninstalled with Mysqld-nt-remove.

Detailed methods such as the following:

Check the service for any MySQL, fake features to stop the MySQL service;

In the control Panel to perform the addition of the removal program, the MySQL uninstall;

After unloading open the register, to see the key value under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, if there is the relevant MySQL key value (MySQL, mysqladmin) is deleted, you can;

Reboot and delete the MySQL installation remnants folder (view service, MySQL is not available at this time);

Install MySQL again once again. Do not perform the server Instance Configuration Wizard after installation, and then execute the wizard in the Start menu after restarting.

PS: A method worthy of examination

MSYQL installation to the last step start service error resolution

1, go to the Control Panel to remove MySQL first.

2. Go to the C-Drive C:\Program files folder to delete the MySQL folder.

3. Assume that there are also settings folders on other disks to be deleted. Empty folders are also deleted

4. Register to Regedit

Hkey_local_machine/system/controlset001/services/eventlog/applications/mysql HKEY_LOCAL_MACHINE/SYSTEM/ Controlset002/services/eventlog/applications/mysql hkey_local_machine/system/currentcontrolset/services/ Eventlog/applications/mysql There are words, all deleted!

(Tip: Use the F3 loop to find "MySQL")

5. Assume that the Task Manager also deletes the MySQL content

6, turn the firewall off.

7, once again installed MySQL (I did not restart the computer here)

Restart the computer, deactivate IIS, and delete temporary files in temp if necessary when reloading.

If this is not the case, when configuring MySQL, replace the MySQL service with a service name.

An error occurred while deleting the item.

Unable to delete legacy_mysql51: An error occurred while deleting the item.

Are you sure

Workaround: Right-click Add administrators all permissions in the registry entry

A solution that cannot be uninstalled completely without the MySQL service starting under Windows

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.