service mysqld start Starting mysqld (via systemctl): Job for mysqld.service failed because the con

linux启动mysql报错:service mysqld start
Starting mysqld (via systemctl):  Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
                                                           [FAILED]

查看mysql日志:systemctl status mysqld.service  字面意思是初始化错误,需要libaio.so.1,但是在之前我已经安装过libaio.so.1了。然后直接安装libaio,可能是有些组件之前没有安装到。

service mysqld start Starting mysqld (via systemctl): Job for mysqld.service failed because the con

安装libaio,中途要输入y,回车,安装成功。启动mysql     OK

service mysqld start Starting mysqld (via systemctl): Job for mysqld.service failed because the con

service mysqld start Starting mysqld (via systemctl): Job for mysqld.service failed because the con