mysql服务启动报错:
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"命令查看,什么都看不出来。
直接查看mysql运行日志,日志文件在"/var/log/mysqld.log";
找到error日志发现:
发现原来是设置innodb缓冲池实例写错了参数,系统无法识别,报错,修改后正常启动