144 145

suggest change

When you try to access records in a MySQL database, you may get these error messages. They occur because a MyISAM table is corrupted. The related codes are:

MySQL error code 126 = Index file is crashed
MySQL error code 127 = Record-file is crashed
MySQL error code 134 = Record was already deleted (or record file crashed)
MySQL error code 144 = Table is crashed and last repair failed
MySQL error code 145 = Table was marked as crashed and should be repaired

A MySQL bug, a crash, an improper shutdown, or a damaged table can cause this corruption. Once corrupted, the table is inaccessible. The best recovery is an up-to-date backup. If you do not have a valid backup, you can try MySQL repair.

If the table engine type is MyISAM, apply CHECK TABLE, then REPAIR TABLE to it.

Then think seriously about converting to InnoDB, so this error won’t happen again.

Syntax

CHECK TABLE <table name> //// To check the extent of database corruption
REPAIR TABLE <table name> //// To repair table

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents