Tabella post corrotta, riparazione impossibile?
Debian 3.1, Plesk 8.2, php 4.3.10-22, mysql 4.1.11, Vbulletin 3.6
Il forum è up and running, ma ogni tanto, cancellando vecchi messaggi del forum vedo degli errori sql.
Ho quindi fatto un backup del database e ho lanciato (sul db di backup)
mysql> REPAIR TABLE post;
+----------------+--------+----------+----------+
| Table | Op | Msg_type | Msg_text |
+----------------+--------+----------+----------+
| vbulletin.post | repair | status | OK |
+----------------+--------+----------+----------+
1 row in set (2 hours 10 min 46.87 sec)
Fino a qui sembra tutto ok, ma lanciando
myisamchk post.MYI
myisamchk: error: Key in wrong position at page 422904832
- check record links
myisamchk: error: Keypointers and record positions doesn't match
MyISAM-table 'post.MYI' is corrupted
Fix it using switch "-r" or "-o
eseguo myisamchk -r post.MYI
eseguo myisamchk post.MYI e l'errore resta uguale
eseguo myisamchk -o post.MYI
eseguo myisamchk post.MYI e l'errore resta uguale
Rifaccio tutto una seconda volta, ma nulla.
Faccio il dump della tabella post, la droppo, la reimporto, ma nulla cambia.
Esiste un modo per cancellare/svuotare la tabella post.MYI per poi ricrearla da zero partendo dalla post.MYD?
Se si, come?
Qualcuno puo' suggerirmi qualche altra soluzione per riparare la tabella?