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