MySQL cocould not start the service MySQL Solution

Source: Internet
Author: User

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 service if it fails to be uninstalled ). The specific method of www.2cto.com is as follows: Check whether there is mysql in the service. If yes, stop the service. Run the Add/delete program on the control panel and 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, delete the residual directory of mysql installation (check that mysql is not available in the service); reinstall mysql. after installation, do not run Server Instance Configuration wizard. After restart, run the wizard in the Start Menu. After installing msyql 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. delete the directory if you have another disk. delete the empty directory. 4. to regedit, 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, delete all! (Tip: Use F3 to search for "mysql" cyclically ")
5. if you delete mysql 6 in the task manager and shut down the firewall 7, reinstall mysql (I have not restarted the computer here), restart the computer and disable IIS, and delete temporary files in temp. if this is not the case, change the mysql service name When configuring mysql. www.2cto.com *************************************** **************************************** * ********** ----------------------------- 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.

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.