[Email protected] ~ for"systemctl status mysqld.service"" Journalctl-xe " for details.
Use Systemctl status to view the status:
[[Email protected] ~]# systemctl status MySQL mysqld.service-Lsb:start and Stop MySQL loaded:loaded (/etc/rc.d/init.d/mysqld; Vendor preset:disabled) Active:failed (Result:exit-code) since Sun2018- to- . Ten: .: -CST; 26min ago Docs:Mans: Systemd-sysv-generator (8) Process:29770Execstart=/etc/rc.d/init.d/mysqld Start (code=exited, status=1/FAILURE) May . Ten: .: theTraining systemd[1]: Starting Lsb:start and stop MySQL ... May . Ten: .: -Training mysqld[29770]: Starting mysql.the server quit without updating PIDfile(/usr/local/mysql/data/mysql/training.pid). [FAILED] May . Ten: .: -Training systemd[1]: Mysqld.service:control process exited, code=exited status=1 May . Ten: .: -Training systemd[1]: Failed to start Lsb:start and stop Mysql.may . Ten: .: -Training systemd[1]: Unit Mysqld.service entered failed state. May . Ten: .: -Training systemd[1]: Mysqld.service failed.
The specific reason is still in the analysis
MySQL Service failed to start