The below command will go through all tables in all database databases to do a repair check.

mysqlcheck -uroot -p -A --auto-repair