Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 12/08/2018, à 10:22

mkaczor.

Problème démarrage Mysql

Bonjour,

Je viens d'installer mysql server et j'ai déjà un problème, j'ai pas trouvé de solution sur le net c'est pour ça que j'ouvre un sujet. Voici l'erreur affichée.

-- L'unité (unit) mysql.service a commencé à démarrer. août 11 16:35:19 mkaczor1-HP-EliteBook-840-G3 mysql-systemd-start[16730]: ERROR: Unable to start MySQL server: août 11 16:35:19 mkaczor1-HP-EliteBook-840-G3 mysql-systemd-start[16730]: mysqld: Error on realpath() on '/var/lib/mysql-files' (Error 2 - No such file or directory) août 11 16:35:19 mkaczor1-HP-EliteBook-840-G3 mysql-systemd-start[16730]: 2018-08-11T14:35:19.332150Z 0 [ERROR] Failed to access directory for --secure-file-priv. Please make sure that directory exists and is acc août 11 16:35:19 mkaczor1-HP-EliteBook-840-G3 mysql-systemd-start[16730]: 2018-08-11T14:35:19.337707Z 0 [ERROR] Aborting août 11 16:35:19 mkaczor1-HP-EliteBook-840-G3 mysql-systemd-start[16730]: Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues. août 11 16:35:19 mkaczor1-HP-EliteBook-840-G3 mysql-systemd-start[16730]: Once the problem is resolved, restart the service. août 11 16:35:19 mkaczor1-HP-EliteBook-840-G3 systemd[1]: mysql.service: Control process exited, code=exited status=1 août 11 16:35:19 mkaczor1-HP-EliteBook-840-G3 systemd[1]: mysql.service: Failed with result 'exit-code'. août 11 16:35:19 mkaczor1-HP-EliteBook-840-G3 systemd[1]: Failed to start MySQL Community Server. -- Subject: L'unité (unit) mysql.service a échoué -- Defined-By: systemd

-- Support: http://www.ubuntu.com/support -- L'unité (unit) mysql.service a échoué, avec le résultat RESULT. août 11 16:35:19 mkaczor1-HP-EliteBook-840-G3 systemd[1]: mysql.service: Service hold-off time over, scheduling restart. août 11 16:35:19 mkaczor1-HP-EliteBook-840-G3 systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5. -- Subject: Le redémarrage automatique d'une unité (unit) a été planifié -- Defined-By: systemd

-- Support: http://www.ubuntu.com/support -- Le redémarrage automatique de l'unité (unit) mysql.service a été planifié, en -- raison de sa configuration avec le paramètre Restart=. août 11 16:35:19 mkaczor1-HP-EliteBook-840-G3 systemd[1]: Stopped MySQL Community Server. -- Subject: L'unité (unit) mysql.service a terminé son arrêt -- Defined-By: systemd

-- Support: http://www.ubuntu.com/support -- L'unité (unit) mysql.service a terminé son arrêt. août 11 16:35:19 mkaczor1-HP-EliteBook-840-G3 systemd[1]: mysql.service: Start request repeated too quickly. août 11 16:35:19 mkaczor1-HP-EliteBook-840-G3 systemd[1]: mysql.service: Failed with result 'exit-code'. août 11 16:35:19 mkaczor1-HP-EliteBook-840-G3 systemd[1]: Failed to start MySQL Community Server. -- Subject: L'unité (unit) mysql.service a échoué -- Defined-By: systemd

-- Support: http://www.ubuntu.com/support -- L'unité (unit) mysql.service a échoué, avec le résultat RESULT.

Je vous remercie d'avance.

Hors ligne

#2 Le 10/09/2018, à 12:58

DarkBahhh

Re : Problème démarrage Mysql

Bonjour mkaczor.,

L'erreur que tu as link semble nous orienter vers le fichier '/var/lib/mysql-files'.
Peut-tu aller voir dans ta conf ce que tu as dans "/var/lib/" (ls -l /var/lib/ | grep mysql)

Plusieurs problèmes peuvent mener a cette erreur, vérifie que le fichier '/var/lib/mysql-files' existe bien et que l'utilisateur mysql as les bonne permissions dessus.

J'ai vu que le fichier '/var/lib/mysql-files' peut s'appeler '/var/lib/mysql' dans certaine version de mysql.

A suivre...

Cdt,
DarkBahhh

Hors ligne