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.
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
Enter the bin directory under the Mysql directory, as shown in the figure:
(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:
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!