Home  >  Article  >  Database  >  How to restart the MySQl service under window?

How to restart the MySQl service under window?

青灯夜游
青灯夜游Original
2019-05-21 10:18:0570533browse

How to restart the MySQl service under window?

How to restart the MySQl service under window:

Method 1: Through the [Computer Management] interface To restart the MySQl service

1. Move the mouse to the computer, right-click the mouse, and select "Manage".

How to restart the MySQl service under window?

#2. Select [Services] under [Services and Applications] in the [Computer Management] interface.

How to restart the MySQl service under window?

#3. Services are sorted alphabetically by default, so scroll down and find the mysql service starting with M.

You can use the keyboard to search for m to find the service, and click after finding it.

How to restart the MySQl service under window?

4. After clicking the mysql service, the mysql service will be displayed in the left column. If it is not started, the "start" service will be displayed. If it is started, stop and pause will be displayed. and restart this service, we click to restart this service

How to restart the MySQl service under window?

5. After clicking to restart this service, a progress bar for stopping the service will appear, and then a progress bar for starting will appear. , and the mysql service is restarted when the progress bar to be started is finished.

How to restart the MySQl service under window?

How to restart the MySQl service under window?

##Method 2: Restart the MySQl service through the cmd command line

1. Click [Start], enter cmd in the search bar, and press Enter to open the cmd command line

How to restart the MySQl service under window?

2. Enter the following command in cmd, and press Enter

net stop mysql

Mysql is displayed at this time and has stopped

How to restart the MySQl service under window?

3. Enter the following command under cmd and press Enter

net start mysql

Mysql is displayed at this time and the restart is completed

How to restart the MySQl service under window?

Related learning recommendations:

mysql tutorial(video)

The above is the detailed content of How to restart the MySQl service under window?. 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