Mysql boot error 1053

Source: Internet
Author: User

Environment: MySQL 5.5.20 in win7

1. cd to the bin directory of mysql in the dos command line

Start: mysqld.exe -- console

Then the server is started, and the print information is as follows:

130104 17:07:49 InnoDB: Waiting for the background threads to start

130104 17:07:50 InnoDB: 1.1.8 started; log sequence number 48378020

130104 17:07:51 [Note] Event schedents: Loaded 0 events

130104 17:07:51 [Note] mysqld.exe: ready for connections.

Version: '5. 5.20-log' socket: ''port: 3306 MySQL Community Server (GPL). Then, the mysql service is started successfully.

Now you can connect to the mysql server through the client.

2. If you forget that the mysql service has been started, start a dos window: net start mysql (indicating to start the mysql service), and an error will be reported:

Error 1: System Error 5. Access denied.

Error 2: the service is starting or stopping. Please try again later.

3. If you forget that the mysql service has been started, win + r and enter service. msc in the running state to open the service window.

The mysql service is not started at this time. Then you can start it manually and then report an error:

Error: Error 1053: the service did not respond to the start or control request in time (when this error is reported, it indicates that your service is up, but you forgot it)

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.