[root@vm Desktop]# service mysqld start
Redirecting to /bin/systemctl start mysqld.service
2.关闭命令
[root@vm ~]# service mysqld stop
Redirecting to /bin/systemctl stop mysqld.service
3.重启命令
[root@vm ~]# service mysqld restart
Redirecting to /bin/systemctl restart mysqld.service
4.查看服务状态
[root@vm ~]# service mysqld status
Redirecting to /bin/systemctl status mysqld.service
5.查看MySql系统配置
[root@vm ~]# cat /etc/my.cnf