The mysql service cannot start automatically because the startup mode is set to "manual". Solution: 1. Right-click the "Computer" icon and select "Manage"; 2. Click "Services and Applications", then click "Services"; 3. Select the Mysql service, right-click and select "Properties"; 4. Set "Automatic" in "Startup type" and click OK.
Mysql service setting method to start automatically at boot
First we move the mouse Go to the computer icon as shown below, right-click and select Manage.
Then we click on Services and Applications in the interface as shown below.
Next you can see that there is one of our goals under it - service.
For services, they are arranged alphabetically. We scroll down and find the Mysql service. At this point you can see that it is in a manually started state.
Right-click on the mysql service and select Properties.
Then in the interface as shown below, we will change manual to automatic and click OK, so that your mysql server will be in a self-starting state.
Related recommendations: "mysql tutorial"
The above is the detailed content of Why can't the mysql service start automatically?. For more information, please follow other related articles on the PHP Chinese website!