gaoji 发表于 2017-3-22 19:00:19

lnmp问题:mysql无法重启

一个月前 装的LNMP 后来跑wordpress,昨天就挂了 。lnmp重启显示mysql无法启动求助:
<code>
Stoping LAMP...
stop apache...done
[ ok ] Stopping mysql (via systemctl): mysql.service.
Starting LAMP...
start apache... httpd (pid 4204) already running
done
[....] Starting mysql (via systemctl): mysql.serviceJob for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.
failed!
</code>
用了好多年 第一次遇见这个情况!:Q

gaoji 发表于 2017-3-22 19:01:35

systemctl status mysql.service后显示:

root@comiclub:/usr/local/mysql# systemctl status mysql.service

● mysql.service - LSB: start and stop MySQL
   Loaded: loaded (/etc/init.d/mysql)
   Active: failed (Result: exit-code) since Wed 2017-03-22 18:56:45 CST; 3min 55s ago
Process: 28442 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)

Mar 22 18:56:45 comiclub mysql: Starting MySQL..The server quit with...d!
Mar 22 18:56:45 comiclub systemd: mysql.service: control process exited,...=1
Mar 22 18:56:45 comiclub systemd: Failed to start LSB: start and stop MySQL.
Mar 22 18:56:45 comiclub systemd: Unit mysql.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

licess 发表于 2017-3-23 09:02:13

按反馈必读提供mysql日志
页: [1]
查看完整版本: lnmp问题:mysql无法重启