跳到主要内容

MySQL 启动关闭

CentOS

启动

systemctl start mysqld

关闭

systemctl stop mysqld

查看 MySQL 状态

systemctl status mysqld