Home >Database >Mysql Tutorial >How to start mysql using win r

How to start mysql using win r

藏色散人
藏色散人Original
2020-10-27 10:38:573194browse

How to start mysql with win r: First press the shortcut key "win r" to open the run; then enter "cmd" to open the command line; then enter the bin directory under the Mysql directory; finally enter the command "net start mysql" to enable the mysql service.

How to start mysql using win r

Recommended: "mysql video tutorial"

Start the mysql service from the command line.

Let’s talk about starting the mysql service through the command line:

(1) First find the installation location of mysql, for example, the installation location of my computer is: D:\Program Files \MySQL\MySQL Server 5.0, I will perform the following operations:

First press the shortcut key "win r" to open run-> Enter "cmd" to open the command line, then enter "D:" to locate D Drive letter. As shown in the figure

How to start mysql using win r

Enter the bin directory under the Mysql directory, as shown in the figure:

How to start mysql using win r

(2) Enter the mysql command Run the service enabling command:

net start mysql (the corresponding service closing command is net stop mysql)

As shown in the figure:

How to start mysql using win r

When you see the picture above, you have completed the operation of starting the mysql service through the command line.

The above is the detailed content of How to start mysql using win r. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn