美文网首页
CentOS 7下MySQL服务启动失败

CentOS 7下MySQL服务启动失败

作者: 月薪2K的臭弟弟 | 来源:发表于2019-02-12 09:13 被阅读0次

    错误log:Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.

    解决方法:

    mkdir -p /var/run/mysqld/

    ls -ld /var/run/mysqld/

    chown mysql.mysql /var/run/mysqld/

    service mysqld  start

    相关文章

      网友评论

          本文标题:CentOS 7下MySQL服务启动失败

          本文链接:https://www.haomeiwen.com/subject/ycwajqtx.html