启动服务 net start 服务名
(服务名为mysql, MySQL57, MySQL80等)
net start MySQL57
停止服务 net stop 服务名
net stop 服务名
禁止开机,自动启动,手动启动服务
sc config 服务名 start=disabled ## 禁用
sc config 服务名 start=auto ## 自动,开机重启
sc config 服务名 start=demand ## 手动
服务名可通过任务管理器查看
注意!!!上面相关命令以管理员身份运行