How to stop the mysql service in cmd: 1. Use the shortcut key "win R" to open the "Run" window, enter "cmd" in the input box and press Enter to open the cmd window; 2. In the cmd window , execute the "net stop mysql" command. If the message "MySQL service has stopped successfully" is output, it means that the service has been stopped successfully.
The operating environment of this tutorial: windows7 system, mysql8 version, Dell G3 computer.
How to stop the mysql service in cmd
##1. Open the cmd window
Use shortcut Press "win R" (or click "Start" - "Run") to open the run window, enter cmd, and press Enter to open the cmd window.2. Stop the mysql service
In the cmd window, enter "net stop mysql", Press Enter. When the interface as shown in the figure appears, it means that the MySQL service has been stopped successfully.
Extended knowledge: How to start the MySQL service in cmd
Enter "net start mysql" in the cmd window and press Enter , when the interface as shown in the figure appears, it means that the MySQL service is started successfully. [Related recommendations:mysql video tutorial]
The above is the detailed content of How to stop mysql service in cmd. For more information, please follow other related articles on the PHP Chinese website!