上面这句报错完整的是这样的:
Job for mysqld.service failed because the control process exited with error code. See “systemctl status mysqld.service” and “journalctl -xe” for details.

我以自己的经验表明,这句话重点在前一句,极有可能是mysql的配置文件出现了错误的代码,我的就是这样,可能是字母拼错了或者是其他的小错误,都会导致mysql启动失败。所以读者可以先去mysql的配置文件(my.cnf)仔细排查下有没有bug.