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".
#2. Select [Services] under [Services and Applications] in the [Computer Management] interface.
#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.
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
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.
##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 2. Enter the following command in cmd, and press Enternet stop mysqlMysql is displayed at this time and has stopped 3. Enter the following command under cmd and press Enter
net start mysqlMysql is displayed at this time and the restart is completed
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!