MySQL cannot be fully detached when the MySQL service cannot be started in windows.

Source: Internet
Author: User
How to uninstall MySQL when the mysql service cannot be started in windows

The following articles mainly describe the actual solution that cannot be fully detached when the MySQL service cannot be started, the following is a description of the specific solution when the MySQL service cannot be started. I hope it will be helpful for you in your future studies.

Solution to apply security setting error during MySQL 5.1 Installation

1. uninstall MySQL

2. delete the directory C:/Documents Ents and Settings/All Users/Application Data/MySQL.

3. reinstall MySQL.

[MySQL] cocould not start the service MySQL solution

Install MySQL 5.1.33. an error occurs in the third Start Service in the Execute strongattion step when the Server Instance Configuration wizard is running, the error message "cocould not start the service MySQL" is displayed. (this is generally because MySQL is installed and cannot be uninstalled. Uninstall and restart before reinstalling. Note that you can use MySQLd-nt-remove to uninstall the MySQL service ).

The specific method is as follows:

Check whether MySQL is in the service. If yes, stop the MySQL service;

Run the add/delete program on the control panel to uninstall MySQL;

Open the registry after uninstalling and view the key values under HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services. if there is a MySQL key value (MySQL, MySQLadmin), delete it;

Restart and delete the residual directory of MySQL installation (view the service, MySQL service does not have MySQL );

Reinstall MySQL. after installation, do not run Server Instance Configuration wizard. after restart, run the wizard in the Start menu.

PS: A Reference Method

Msyql installation to the last step start service error solution

1. in the control panel, delete MySQL first.

2. delete the MySQL directory under drive C:/Program Files.

3. if you still have a directory set on another disk, you must also delete the. empty directory.

4. go to regedit to set the registry

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 then, delete all!

(Tip: Use F3 to search for "MySQL" Cyclically ")

5. if MySQL content in the task manager is also deleted

6. shut down the firewall.

7. reinstall MySQL (I have not restarted the computer here)

Restart the computer, disable IIS, and delete temporary files in temp if necessary.

If this is not the case, change the MySQL service name when configuring MySQL.

An error occurred while deleting the item.

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

OK

Solution: Right-click the registry key to add all the permissions for administrators.

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.