Command-line startup and manual Start method for MySQL service startup under Windows

Source: Internet
Author: User
Tags mysql command line

1. Start the MySQL service under the graphical interface.

The steps to start the MySQL service under the graphical interface are as follows:

(1) Open the services, management tools, Control Panel, as shown in:

You can see that the current status of the MySQL service is not started (not written started is not started), the corresponding line of the two-machine open a small window as follows:

Click the button "Start" to start the MySQL service, this time the display is enabled, refresh the list of services will also show the enabled state, so that the GUI completed the start of the MySQL service.

If you close, click the Stop button in this small window to close the service.

2. Start the MySQL service under the command line.

Here's how to start the MySQL service from the command line:

(1) First find the installation location of MySQL, such as My computer's installation location is: D:\Program files\mysql\mysql Server 5.0, I do the following actions:

Start, run, enter CMD to open the command line, and then enter "D:" To locate the D-drive letter.

Go to the Bin directory in the MySQL directory,

(2) Enter the service enable command for the MySQL command line:

net start MySQL (corresponding service shutdown command for net stop MySQL)

You see that you have completed the start of the MySQL service from the command line.

These are the methods and steps for starting and manually starting the MySQL service under Windows, and we hope to help.

Command-line startup and manual Start method for MySQL service startup under Windows

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.