Solution to 1053 error of mysql Service Startup

Source: Internet
Author: User


Solution to 1053 error in mysql Service Startup: Windows 7 mysql version: 5.5.22 www.2cto.com when you use the command mysqld -- install servicename -- defaults-file = 'file _ name' to create a mysql service, the system
The system prompts that the service is successfully created, but the net start command prompts that the startup failed and. msc prompts 1053 error solution: someone on the internet says that the "Log on" tab of the service should be set to administrator; others say that the service needs to be deleted first, re-create (you can consider these two aspects first );
However, it does not work after the test. After the check, it is found that it is still caused by the mysqld -- install command, mainly because
The path pointed to by -- defaults-file cannot be enclosed in single quotes. Instead, it must be enclosed in double quotes to replace single quotes with double quotes. The problem is solved.
 

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.