2017-04-16 2 views
0

Das ist super gestern hatte ich den gleichen Fehler und ich debuggte es, aber heute weiß ich nicht mehr, was zu tun ist, da ich es zu schnell gemacht habe.MySql startet überhaupt nicht

Wenn ich so mache:

sercice mysql start 

ich diese Meldung:

Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details. 

Aus diesem Grund habe ich: systemctl Status mysql.service

und erhalten:

Apr 16 18:11:25 darphus.xen.prgmr.com systemd[1]: Unit mysql.service entered failed state. 
Apr 16 18:11:26 darphus.xen.prgmr.com systemd[1]: mysql.service holdoff time over, scheduling restart. 
Apr 16 18:11:26 darphus.xen.prgmr.com systemd[1]: Stopping MySQL Community Server... 
Apr 16 18:11:26 darphus.xen.prgmr.com systemd[1]: Starting MySQL Community Server... 
Apr 16 18:11:26 darphus.xen.prgmr.com systemd[1]: mysql.service start request repeated too quickly, refusing to start. 
Apr 16 18:11:26 darphus.xen.prgmr.com systemd[1]: Failed to start MySQL Community Server. 
Apr 16 18:11:26 darphus.xen.prgmr.com systemd[1]: Unit mysql.service entered fai 

journalctl -xn geben:

Logs begin at Sun 2017-04-16 17:58:44 UTC, end at Sun 2017-04-16 18:16:35 UTC 
Apr 16 18:16:34 darphus.xen.prgmr.com postfix/pickup[938]: warning: 868F625E66: 
Apr 16 18:16:34 darphus.xen.prgmr.com postfix/pickup[938]: 868F625E66: uid=0 fro 
Apr 16 18:16:34 darphus.xen.prgmr.com postfix/proxymap[941]: warning: mysql:/etc 
Apr 16 18:16:34 darphus.xen.prgmr.com postfix/cleanup[1361]: warning: proxy:mysq 
Apr 16 18:16:34 darphus.xen.prgmr.com postfix/cleanup[1361]: warning: 868F625E66 
Apr 16 18:16:35 darphus.xen.prgmr.com postfix/pickup[938]: warning: 8744E25E66: 
Apr 16 18:16:35 darphus.xen.prgmr.com postfix/pickup[938]: 8744E25E66: uid=0 fro 
Apr 16 18:16:35 darphus.xen.prgmr.com postfix/proxymap[941]: warning: mysql:/etc 
Apr 16 18:16:35 darphus.xen.prgmr.com postfix/cleanup[1362]: warning: proxy:mysq 
Apr 16 18:16:35 darphus.xen.prgmr.com postfix/cleanup[1362]: warning: 8744E25E66 

Ich denke, ein tryed alle den Trick im Internet und nichts Arbeit für heute.

Bitte helfen Sie mir, da alle meine Website aus diesem Grund sind.

Antwort

2

Normalerweise dieses Problem auftreten, wenn Sie versuchen, in der etwas zu ändern /etc/mysql/my.cnf.

so Neuinstallation MySQL das Problem versuchen, dieses Problem lösen soll:

sudo apt purge mysql-server mysql-common

sudo apt autoremove mysql-server mysql-common

und neu installiert

wieder

sudo apt-get update sudo apt-get install mysql-server

Check this out: https://askubuntu.com/questions/392438/mysql-job-failed-to-start