LInux Mysql 启动时报错: Job for mysqld.service failed because the control process exited with err
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
3、解决方式
chown mysql:mysql -R /var/lib/mysql
4、启动mysql服务
service mysqld start