

Vediamo come intervenire se riscontriao l’errore mysql: Table ‘database/table’ is marked as crashed and should be repaired.
Se un server viene spento in maniera improvvisa, senza seguire un reboot o un poweroff da sistema, le tabelle di un database possono rovinarsi e quindi ad una interrogazione sul db il server MySQL (ad esempio) può rispondere con questo messaggio
mysql: Table ‘database/table’ is marked as crashed and should be repaired
La tabella indicata va quindi riparata e per farlo bisogna collegarsi al server MySQL come utente root e dare il seguente comando
REPAIR TABLE tablename;