使用如下命令操作mysql即可: 
systemctl restart mysqld.service 
systemctl start mysqld.service 
systemctl stop mysqld.service

相关文章: