Home>Article>Database> How to stop mysql service in cmd

How to stop mysql service in cmd

青灯夜游
青灯夜游 Original
2022-06-14 11:42:24 8256browse

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.

How to stop mysql service in cmd

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.

How to stop mysql service in cmd

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.

How to stop mysql service in cmd

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.

How to stop mysql service in cmd

[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!

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