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.