启动mysql




systemctl start mysqld (centos7)


停止mysql


systemctl stop mysqld(centos7)