使用命令来创建

1. WIN + R  打开运行窗口,输入cmd

Windows 手动创建 服务

2. 输入 sc create ServerName binpath= "E:\MySql5.5\bin\mysqld.exe"  等号后有空格

     回车时系统(360,电脑管家等)会有安全框弹出提示,选择允许,提示创建成功

sc create ServerName binpath= "E:\MySql5.5\bin\mysqld.exe" 

Windows 手动创建 服务        Windows 手动创建 服务

 3. 启动服务  sc start ServerName

sc start ServerName

Windows 手动创建 服务

4.WIN + R  打开运行窗口,输入services.msc  ,可以看到你刚新建的服务,右键选择属性改成自动

Windows 手动创建 服务

5.删除服务   sc delete ServerName  其实删除后就是禁用

sc delete ServerName

Windows 手动创建 服务

 

相关文章:

  • 2021-04-15
  • 2021-11-03
  • 2019-03-20
  • 2021-11-20
  • 2021-09-18
  • 2021-05-17
猜你喜欢
  • 2022-01-17
  • 2022-02-05
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
  • 2022-02-14
相关资源
相似解决方案