说明:mysql是绿色免安装版,安装在centos7操作系统下
用命令systemctl start mysqld.service起服务失败,提示:Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
用systemctl status mysqld.service及journalctl -xe命令查看,提示Failed to start MySQL Server
查看mysql_error.log文件,没记录日志(感觉日志都没记录操作,但是日志文件下也有内容)
在my.cnf文件下设置了log-error = /data/mysql/log/mysql_error.log内容
在mysqld.service下也 定义相关信息的啊