LInux Mysql 启动时报错: Job for mysqld.service failed because the control process exited with err...解决方法

1、启动mysql 报错

service mysqld start
Redirecting to /bin/systemctl start mysqld.service
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.

2、分析错误信息

journalctl -xe

LInux Mysql 启动时报错: Job for mysqld.service failed because the control process exited with err...解决方法_第1张图片
3、解决方式

chown mysql:mysql -R /var/lib/mysql

4、启动mysql服务

service mysqld start

在这里插入图片描述

你可能感兴趣的:(Mysql)