Net command to start mysql service: the service name is invalid

Problem description:
When using the net command to start the mysql service,
open cmd and enter net start mysql server is invalid. Insert the picture description at the time
Solution:
First step: Find the command prompt in the start menu and run it as an administrator.
Insert picture description here
Step 2: Go to the MySQL installation path In the bin startup file of the
Insert picture description here
third part: Start mysql service
Insert picture description hereNote: The command is: net start + own mysql service name (you can check it yourself)
View method: right-click this computer -> management -> services and applications -> services, that is You can check your own mysql service name.
Insert picture description here
If you have any questions or errors, please discuss with me!

Guess you like

Origin blog.csdn.net/weixin_43631997/article/details/105492806