使用chkconfig --level 35 mysqld off就可以解决了.
在大多数的linux发行版本中,通常有8个runlevel
Runlevel System State
0 Halt the system
1 Single user mode
2 Basic multi user mode
3 Multi user mode
5 Multi user mode with GUI
6 Reboot the system
S, s Single user mode
多数的桌面的linux系统缺省的runlevel是5,用户登陆时是图形界面,.
而多数的服务器版本的linux系统缺省的runlevel是3,用户登陆时是字符界面
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/25281640/viewspace-709341/
,如需转载,请注明出处,否则将追究法律责任。