Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/64.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mysql可以';即使重新启动后也无法启动_Mysql_Linux - Fatal编程技术网

Mysql可以';即使重新启动后也无法启动

Mysql可以';即使重新启动后也无法启动,mysql,linux,Mysql,Linux,你好,我的mysql没有更多的工作在我的服务器上,所以我希望尽快解决它 当我打字时: 启动mysql服务 我有以下信息: Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details. 我看了第一个,然后: mysql.service - MySQL Community Server Loaded: loaded (/lib/systemd/syste

你好,我的mysql没有更多的工作在我的服务器上,所以我希望尽快解决它

当我打字时: 启动mysql服务 我有以下信息:

Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.
我看了第一个,然后:

mysql.service - MySQL Community Server
   Loaded: loaded (/lib/systemd/system/mysql.service; enabled)
   Active: activating (start-pre) since Mon 2017-04-17 00:08:42 UTC; 1s ago
  Process: 24182 ExecStart=/usr/sbin/mysqld --daemonize --pid-
file=/var/run/mysqld/mysqld.pid (code=exited, status=1/FAILURE)
  Control: 24200 (mysql-systemd-s)
   CGroup: /system.slice/mysql.service
           └─control
             └─24200 /bin/bash /usr/share/mysql/mysql-systemd-start pre



Apr 17 00:08:42 darphus.xen.prgmr.com systemd[1]: mysql.service holdoff time ...
Apr 17 00:08:42 darphus.xen.prgmr.com systemd[1]: Stopping MySQL Community Se...
Apr 17 00:08:42 darphus.xen.prgmr.com systemd[1]: Starting MySQL Community Se...
Apr 17 00:08:42 darphus.xen.prgmr.com mysql-systemd-start[24200]: ls: cannot ...
Apr 17 00:08:42 darphus.xen.prgmr.com mysql-systemd-start[24200]: 2017-04-17T...
Apr 17 00:08:42 darphus.xen.prgmr.com mysql-systemd-start[24200]: 2017-04-17T...
Apr 17 00:08:42 darphus.xen.prgmr.com mysql-systemd-start[24200]: 2017-04-17T...
提示:有些行已省略,请使用-l完整显示

用于:

journalctl -xn
我有:

-- Logs begin at Sun 2017-04-16 23:42:18 UTC, end at Mon 2017-04-17 00:12:52 UTC
Apr 17 00:12:51 darphus.xen.prgmr.com systemd[1]: Starting MySQL Community Serve
-- 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.
Apr 17 00:12:51 darphus.xen.prgmr.com mysql-systemd-start[27976]: ls: cannot acc
Apr 17 00:12:51 darphus.xen.prgmr.com mysql-systemd-start[27976]: 2017-04-17T00:
Apr 17 00:12:51 darphus.xen.prgmr.com mysql-systemd-start[27976]: 2017-04-17T00:
Apr 17 00:12:51 darphus.xen.prgmr.com mysql-systemd-start[27976]: 2017-04-17T00:
Apr 17 00:12:52 darphus.xen.prgmr.com postfix/pickup[804]: warning: 1E20F25E72: 
Apr 17 00:12:52 darphus.xen.prgmr.com postfix/pickup[804]: 1E20F25E72: uid=0 fro
Apr 17 00:12:52 darphus.xen.prgmr.com postfix/proxymap[809]: warning: mysql:/etc
Apr 17 00:12:52 darphus.xen.prgmr.com postfix/cleanup[27709]: warning: proxy:mys
Apr 17 00:12:52 darphus.xen.prgmr.com postfix/cleanup[27709]: warning: 1E20F25E7
我用autoclean和autoremove清除了mysql服务器mysql客户端和mysql公用数据库。我删除了/var/lib/mysql
重新安装后,仍然存在与消息顶部相同的问题。

此处有用的一些信息似乎已被截断。按照第一个命令的建议,尝试使用
-l
标志来显示完整日志。同样地,第二个日志条目似乎被截断了-识别错误的前几个字符的人可能会有所帮助,但完整的行将使工作更容易。这里有用的一些信息似乎被截断了。按照第一个命令的建议,尝试使用
-l
标志来显示完整日志。同样地,第二个日志条目似乎被截断了——识别错误的前几个字符的人可能会有所帮助,但完整的行将使工作更容易。