时间:2021-07-01 10:21:17 帮助过:28人阅读
手动的新建目录
[root@iz2zei43l28m7vcezzzyyjz apache-tomcat-9.0.0]# mkdir -p /var/run/mysqld/
[root@iz2zei43l28m7vcezzzyyjz apache-tomcat-9.0.0]# ls -ld /var/run/mysqld/ drwxr-xr-x 2 root root 40 May 6 17:58 /var/run/mysqld/ [root@iz2zei43l28m7vcezzzyyjz apache-tomcat-9.0.0]# chown mysql.mysql /var/run/mysqld/ [root@iz2zei43l28m7vcezzzyyjz apache-tomcat-9.0.0]# /etc/init.d/mysqld start Starting mysqld (via systemctl): [ OK ]
centos7启动MySQL报 Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
标签:div mysql 启动 mct may 创建 code etc via