CentOS 7下MySQL服务启动失败

2019-02-12  本文已影响0人  月薪2K的臭弟弟

错误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

上一篇下一篇

猜你喜欢

热点阅读