CentOS 7下MySQL服务启动失败

错误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服务启动失败)