关闭

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

瞎溜达 1年前 ⋅ 252 阅读

启动MySQL:

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.

执行:

chmod -R 777 /var/lib/mysql/auto.cnf
chown mysql:mysql /var/lib/mysql -R

然后执行:

systemctl start mysqld.service

启动正常


全部评论: 0

    我有话说: