23-08
Table 'phpbb_posts' is marked as crashed and last (automatic?) repair failed

cd /var/lib/mysql/phpbb/Identifiez les fichiers qui vous intéressent :
ls | grep phpbb_posts phpbb_posts.frm phpbb_posts.MYD phpbb_posts.MYINous allons maintenant utiliser myimasmchk pour réparer la table. Il est normalement conseillé de stopper MySQL avant de procéder à l'opération.
/etc/init.d/mysql stopNous lançons la réparation:
myisamchk -r phpbb_posts.MYI - recovering (with sort) MyISAM-table 'phpbb_posts.MYI' Data records: 1 - Fixing index 1 - Fixing index 2 - Fixing index 3 - Fixing index 4 - Fixing index 5 - Fixing index 6 - Fixing index 7 - Fixing index 8 - Fixing index 9 - Fixing index 10 - Fixing index 11 - Fixing index 12 Data records: 18858Il ne nous reste plus qu'à démarrer ensuite MySQL.
/etc/init.d/mysql startVoilà, dans mon cas l'opération a fonctionné sans appliquer de backup, le forum refonctionne parfaitement et aucun enregistrement n'a été perdu.
Votre commentaire
Aucun commentaire pour ce billet.