Command Line start and Manual start of mysql service in windows

Source: Internet
Author: User
Tags mysql command line


In windows, the command line start and Manual start methods for starting the mysql service have encountered the problem that the mysql service cannot be started. When I check the Internet, many people may also encounter the problem that the mysql server cannot be started, therefore, I simply sorted out the articles on how to start the command line and manually start mysql service in windows, so that you can refer to friends who encounter similar problems. Www.2cto.com 1. Start the mysql service on the GUI. Follow these steps to start the mysql service on the GUI: (1) Open Control Panel> Administrative Tools> services, as shown in:

As you can see, the current status of Mysql service is not started (all started are not written). Open a small window in the corresponding line:

Click the "Start" button to start the mysql service. At this time, the enabled status is displayed, and the service list is refreshed. In this way, the mysql service is started through a graphical interface. To close the service, click the stop button in this small window. 2. Start the mysql service under the command line. The following describes how to start the mysql service through the command line: (1) first find the mysql installation location, for example, my computer installation location is: D: \ Program Files \ MySQL Server 5.0, I will perform the following operations: www.2cto.com start-> Run-> enter "cmd" to open the command line, and then enter "D: "To drive D.

Go to the bin directory under the Mysql directory,

(2) enter the mysql command line service enabling command: net stat mysql (the corresponding service closing command is net stop mysql ):

You can see that the mysql service is started through the command line. These are the methods and steps for starting and manually starting the mysql service through the command line in windows. I hope to help you.
 

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.