1、chkconfig --add mysql 2、systemctl list-unit-files
关于二者的区别,可参考:https://blog.csdn.net/cds86333774/article/details/51165361