uuxiao 发表于 2017-2-12 09:58:20

mysql failed!

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: Starting MySQL
2月 11 15:53:59 debian mysql: .The server quit without updating PID...d!
2月 11 15:53:59 debian systemd: mysql.service: control process exited, ...=1
2月 11 15:53:59 debian systemd: Failed to start LSB: start and stop MySQL.
2月 11 15:53:59 debian systemd: 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: Unit mysql.service entered failed state.
2月 11 15:45:36 debian dhclient: DHCPREQUEST on eth0 to 192.168.199.1 port 67
2月 11 15:45:36 debian dhclient: DHCPACK from 192.168.199.1
2月 11 15:45:38 debian dhclient: bound to 192.168.199.220 -- renewal in 16162 seconds.
2月 11 15:53:57 debian systemd: 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: Starting MySQL
2月 11 15:53:59 debian mysql: .The server quit without updating PID file (/var/run/mysqld/mysqld.pid). ... failed!
2月 11 15:53:59 debian systemd: mysql.service: control process exited, code=exited status=1
2月 11 15:53:59 debian systemd: 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: Unit mysql.service entered failed state.

licess 发表于 2017-2-12 12:06:24

回复 1# 的帖子

参考:https://bbs.vpser.net/thread-15119-1-1.html
页: [1]
查看完整版本: mysql failed!