当前位置:论坛首页 > Windows面板 > 求助

【已回应】mysql添加开机启动

发表在 Windows面板2019-4-1 14:52 [复制链接] 2 5620

宝塔上 装的mysql 如何设置开机自启动
使用道具 举报 只看该作者 回复
发表于 2019-4-1 15:23:21 | 显示全部楼层
  1. chkconfig --add mysqld
  2. chkconfig --list mysqld


  3. Note: This output shows SysV services only and does not include native
  4.       systemd services. SysV configuration data might be overridden by native
  5.       systemd configuration.

  6.       If you want to list systemd services use 'systemctl list-unit-files'.
  7.       To see services enabled on particular target use
  8.       'systemctl list-dependencies [target]'.

  9. mysqld                 0:off        1:off        2:on        3:on        4:on        5:on        6:off
复制代码

使用道具 举报 回复 支持 反对
发表于 2019-4-1 15:47:52 | 显示全部楼层
是windows上  不是linux上
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析
快速回复 返回顶部 返回列表