commands.sh

mysqlcheck

all

Check and repair MySQL tables.

More info →

Examples (4)

Check a table

mysqlcheck --check table

Check a table and provide credentials to access it

mysqlcheck --check table --user username --password password

Repair a table

mysqlcheck --repair table

Optimize a table

mysqlcheck --optimize table
made by @shridhargupta | data from tldr-pages