Solve the Mysql error: cannotcreatewindowsservicefor

Source: Internet
Author: User
I have summarized some Blog skills in my class today. What I feel more fulfilled is how to implement the title-category name-Blog name! Next, some students chased me and asked me about the MYSQL installation problem. Thanks to the fact that I didn't have a class, I got stuck and found a solution to the problem for a long time. MYSQL error: cannotcreatewindowsserviceformysql.

I have summarized some Blog skills in my class today. What I feel more fulfilled is how to implement the title-category name-Blog name! Next, some students chased me and asked me about the MYSQL installation problem. Thanks to the fact that I didn't attend classes, I got stuck and found a solution to the problem for a long time. MYSQL error: cannot create windows service for mysql.

I have summarized some Blog skills in my class today. What I feel is how to implement "title-category name-Blog name! Next, some students chased me and asked me about the MYSQL installation problem. Thanks to the fact that I didn't attend classes, I got stuck and found a solution to the problem for a long time. MYSQL error: cannot create windows service for mysql. error: 0

Install the new MYSLQ database and install the MySQL Server Instance Config Wizard command. The last step shows that the service cannot be started. The prompt "cannot create windows service for mysql" appears. error: 0 "!

The solution is as follows:

Cause:

The cannot create windows service for mysql. error: 0 error may occur during mysql installation. Most of the causes of the error are caused by re-installing mysql or upgrading mydql using MySQL Configuration Wizard.

Solution:

First stop the MYSQL service:

You can use a service name other than mysql, such as mysql11. But this is not the best solution. We can use the windows SC program to delete the mysql service.

C:> SC delete mysql

[SC] DeleteService SUCCESS

If you re-use MySQL Configuration Wizard, this error will not occur.

If the problem persists, restart the computer.

According to the above steps, the result still does not work. The actual situation may be different.

Finally, I uninstalled MySQL completely and re-installed it in different directories. The operation was successful.

Although this method is stupid, it is very effective.

,
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.