Many times we need to open the mysql service, which can be used for software development, game configuration, etc. So how to do it? The following editor will share how to close or start the mysql service
Open/close the service through the command line
1. Click the start menu and select "Run", as shown below:
2. After clicking Run, enter "cmd" in the input box and click OK
3. Enter "net stop mysql" in the command line and press Enter to stop the mysql service
4. Enter "net start mysql" on the command line, and then press the Enter key to start the mysql service
Method/Step 2
1. First, right-click the computer and select “Manage”. As shown in the figure below:
##2. After entering the management, select Services and Applications->Services , and then find mysql
3 on the right. Click mysql and right-click to start or shut down, as shown in the following figure:
The above is the detailed content of How to shut down or start the MySQL service?. For more information, please follow other related articles on the PHP Chinese website!