The service cannot be deleted when MySQL is installed.

Source: Internet
Author: User

The service cannot be deleted during MySQL installation. An error occurred while starting the service. cocould not start the service mysql. Error: 0

Check the service in the control panel and there is a MySQL service (the name may be another such as mysql4, depending on the configuration during installation ).

Right-click to start. "MySQL service cannot be started on the Local Computer" is displayed. "error 1067: Unexpected Process Termination ."

This problem is usually caused by the fact that the current instance already exists and MySQL is not completely installed (the same is true for uninstalling junk files ).

Step 1: uninstall MySQL.

Step 2: delete a service: Run Command Line, CMD,SC Delete MySQLMySQL is the service name.

Step 3: delete the spam file. In Windows 7, the path is c: \ programdata \ mysql. just delete it.

Step 4: reinstall MySQL.

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.