mark1234 发表于 2019-4-1 14:52:07

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

宝塔上 装的mysql 如何设置开机自启动

大炮运维V587 发表于 2019-4-1 15:23:21

chkconfig --add mysqld
chkconfig --list mysqld


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

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

mysqld               0:off      1:off      2:on      3:on      4:on      5:on      6:off

mark1234 发表于 2019-4-1 15:47:52

是windows上不是linux上
页: [1]
查看完整版本: 【已回应】mysql添加开机启动