Mysql – repair/check all tables in all databases

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

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

Leave a Reply

Your email address will not be published. Required fields are marked *