VPS侦探论坛

 找回密码
 注册
查看: 3366|回复: 1

mysql failed!

[复制链接]
发表于 2017-2-12 09:58:20 | 显示全部楼层 |阅读模式

root@debian:~# /etc/init.d/mysql start
[....] Starting mysql (via systemctl): mysql.serviceJob for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.

failed!






'systemctl status mysql.service':


● mysql.service - LSB: start and stop MySQL
   Loaded: loaded (/etc/init.d/mysql)
   Active: failed (Result: exit-code) since 六 2017-02-11 15:53:59 CST; 6min ago
  Process: 18536 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)

2月 11 15:53:58 debian mysql[18536]: Starting MySQL
2月 11 15:53:59 debian mysql[18536]: .The server quit without updating PID...d!
2月 11 15:53:59 debian systemd[1]: mysql.service: control process exited, ...=1
2月 11 15:53:59 debian systemd[1]: Failed to start LSB: start and stop MySQL.
2月 11 15:53:59 debian systemd[1]: Unit mysql.service entered failed state.


Hint: Some lines were ellipsized, use -l to show in full.

'journalctl -xn'
-- Logs begin at 四 2017-02-09 21:44:15 CST, end at 六 2017-02-11 15:53:59 CST. --
2月 11 15:42:04 debian systemd[1]: Unit mysql.service entered failed state.
2月 11 15:45:36 debian dhclient[556]: DHCPREQUEST on eth0 to 192.168.199.1 port 67
2月 11 15:45:36 debian dhclient[556]: DHCPACK from 192.168.199.1
2月 11 15:45:38 debian dhclient[556]: bound to 192.168.199.220 -- renewal in 16162 seconds.
2月 11 15:53:57 debian systemd[1]: Starting LSB: start and stop MySQL...
-- Subject: Unit mysql.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has begun starting up.
2月 11 15:53:58 debian mysql[18536]: Starting MySQL
2月 11 15:53:59 debian mysql[18536]: .The server quit without updating PID file (/var/run/mysqld/mysqld.pid). ... failed!
2月 11 15:53:59 debian systemd[1]: mysql.service: control process exited, code=exited status=1
2月 11 15:53:59 debian systemd[1]: Failed to start LSB: start and stop MySQL.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has failed.
--
-- The result is failed.
2月 11 15:53:59 debian systemd[1]: Unit mysql.service entered failed state.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-2-12 12:06:24 | 显示全部楼层

回复 1# 的帖子

Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-17 03:52 , Processed in 0.026063 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表