解决办法 使用如下命令操作mysql: systemctl restart mysqld.service systemctl start mysqld.service systemctl stop mysqld.service