机器上装了mysql 但用systemctl disable mysqld 禁止开机自动了, 可以用systemctl enable mysqld(=chkconfig mysqld on) 让它开机自动
chkconfig –list
aegis 0:off 1:off 2:on 3:on 4:on 5:on 6:off
bt 0:off 1:off 2:on 3:on 4:on 5:on 6:off
mysqld 0:off 1:off 2:on 3:on 4:on 5:on 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
nginx 0:off 1:off 2:on 3:on 4:on 5:on 6:off
php-fpm-73 0:off 1:off 2:on 3:on 4:on 5:on 6:off