码迷,mamicode.com
首页 > 数据库 > 详细

mysql服务启动失败

时间:2018-05-06 11:09:34      阅读:895      评论:0      收藏:0      [点我收藏+]

标签:col   loaded   process   mct   root   art   for   vendor   emctl   

[root@training ~]# systemctl start 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查看状态:

[root@training ~]# systemctl status mysql
● mysqld.service - LSB: start and stop MySQL
   Loaded: loaded (/etc/rc.d/init.d/mysqld; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2018-05-06 10:06:53 CST; 26min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 29770 ExecStart=/etc/rc.d/init.d/mysqld start (code=exited, status=1/FAILURE)

May 06 10:06:52 training systemd[1]: Starting LSB: start and stop MySQL...
May 06 10:06:53 training mysqld[29770]: Starting MySQL.The server quit without updating PID file (/usr/local/mysql/data/mysql/training.pid).[FAILED]
May 06 10:06:53 training systemd[1]: mysqld.service: control process exited, code=exited status=1
May 06 10:06:53 training systemd[1]: Failed to start LSB: start and stop MySQL.
May 06 10:06:53 training systemd[1]: Unit mysqld.service entered failed state.
May 06 10:06:53 training systemd[1]: mysqld.service failed.

具体原因还在分析中

mysql服务启动失败

标签:col   loaded   process   mct   root   art   for   vendor   emctl   

原文地址:https://www.cnblogs.com/gamelink/p/8997508.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!