mysql check table command code example
Example 1: mysql check all tables
mysqlcheck -c mydatabasename -u root -p
Example 2: how to check tables in mysql
mysql -u user -p
mysqlcheck -c mydatabasename -u root -p
mysql -u user -p