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

在这里插入图片描述

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐