发布网友 发布时间:2022-04-22 05:45
共2个回答
热心网友 时间:2022-05-02 14:29
1、设置开机自启动
chkconfig mysqld on
2、/etc/init.d/mysqld start
/etc/init.d/mysqld stop
3、centos6以前
services mysqld start
services mysqld stop
4、centos7需要用systemctl
systemctl start mysqld
systemctl stop mysqld
热心网友 时间:2022-05-02 15:47
service mysqld start