cmd控制台Windows服务相关

1.创建服务

sc create ServerName binpath= "E:MySql5.5inmysqld.exe" 

2.启动服务

sc start ServerName

3.删除服务

sc delete ServerName

https://www.cnblogs.com/shinn-sjl/p/7266924.html

原文地址:https://www.cnblogs.com/wintertone/p/14012030.html