From 6f65be1663f403a764d0f3fd60c0e6df909f58f0 Mon Sep 17 00:00:00 2001 From: jlecour Date: Tue, 7 Jan 2020 11:09:26 +0100 Subject: [PATCH] "incorrect key file" sur une table InnoDB --- HowtoMySQL/Troubleshooting.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/HowtoMySQL/Troubleshooting.md b/HowtoMySQL/Troubleshooting.md index 8eff737d..f4fe7e11 100644 --- a/HowtoMySQL/Troubleshooting.md +++ b/HowtoMySQL/Troubleshooting.md @@ -812,4 +812,8 @@ Il faut rajouter le droit PROCESS à l'utilisateur concerné : ~~~ MariaDB > grant USAGE, PROCESS on *.* to foo@localhost; -~~~ \ No newline at end of file +~~~ + +## "incorrect key file" sur une table InnoDB + +Si une action ou une réplication est bloquée avec le message `incorrect key file` et incitant à réparer la table, c'est une fausse piste (il n'y a pas de REPAIR sur les tables InnoDB). Il se peut que ça soit en fait un tmpdir insuffisant en espace disponible pour accueillir les données temporaires. Il faut alors passer sur un tmpdir plus important (`/home/mysql-tmpdir` par exemple). Attention, cela nécessite un redémarrage du service. \ No newline at end of file