Command line start MySQL service

Source: Internet
Author: User
Tags mysql in

NET commands have been learned in the computer network course and can be used to start a background service. In MySQL, net commands are used to start the background server process mysqld, which is the background service.

However, if the net start MySQL in normal user mode is unable to start the MySQL service, the situation is as shown.

Normal User mode failed to start MySQL service

Why is this? The reason is that the background service is a relatively high security level, only the administrator has the ability to start the background service, so the normal user mode to start the MySQL service is not successful, and in Administrator mode can be successful. In administrator mode, start the MySQL service as shown in.

Administrator mode starts MySQL service successfully

Summarize:

1) The background service must be turned on in administrator mode. Of course you don't have to say the command line.

2) Start the service with net start service_name; Shut down service with net stop service_name.

Command line start MySQL service

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.