Hier, une table était pleine ce qui a fais "crash" MySQL, j'ai donc vidé la table en question, mais depuis impossible de relancer MySQL
Le fichier mysql.sock est inexistant et en plus quand je démarre il me dit ça :
sudo service mysql start
Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
Donc je fais la commande "systemctl status mysql.service"
systemctl status mysql.service
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since ven. 2018-06-22 11:56:52 CEST; 2min 13s ago
Process: 8597 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS)
Process: 8596 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
Process: 767 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE)
Main PID: 8596 (code=exited, status=1/FAILURE)
juin 22 11:56:52 ns3054628 systemd[1]: Failed to start MySQL Community Server.
juin 22 11:56:52 ns3054628 systemd[1]: mysql.service: Unit entered failed state.
juin 22 11:56:52 ns3054628 systemd[1]: mysql.service: Failed with result 'exit-code'.
juin 22 11:56:52 ns3054628 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
juin 22 11:56:52 ns3054628 systemd[1]: Stopped MySQL Community Server.
juin 22 11:56:52 ns3054628 systemd[1]: mysql.service: Start request repeated too quickly.
juin 22 11:56:52 ns3054628 systemd[1]: Failed to start MySQL Community Server.
× Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
× Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.