当前位置:   article > 正文

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

job for mysqld.service failed because the control process exited with error

1、启动mysql 报错

  1. service mysqld start
  2. Redirecting to /bin/systemctl start mysqld.service
  3. 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、解决方式

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

4、启动mysql服务

service mysqld start

在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/506075
推荐阅读
相关标签
  

闽ICP备14008679号