MySQL database offers seven syntaxes for proper maintaining of
mysql table's records. Those syntaxes are as follows:
- Repair table syntax
- Analyze table syntax
- Backup table syntax
- Check table syntax
- Checksum table syntax
- Optimize table syntax
- Restore table syntax
In this article, we will discuss briefly about first syntax that
is Repair Table syntax.
REPAIR Table Syntax: It repairs corrupted mysql database
tables. A table gets corrupt due to several reasons like virus
attack, system failure, power failure, hardware problem, power
failure and so on. Corrupt mysql database tables can be repair by
this syntax.
Systax for Repair Table:
“REPAIR [NO_WRITE_TO_BINLOG | LOCAL] TABLE
…