文章目录 前言报错:Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.解决方法 前言 报错:Job for mysqld.service failed because the control process exited with error code. See “systemctl status mysqld.service” and “journalctl -xe” for details. 解决方法 在vim /etc/my.cof最下添加一行下面,重启即为成功 set innodb_force_recovery=1 若重启失败, 把vim /etc/my.cnf set innodb_force_recovery=0 再次启动,不报错即为成功。