sql query to list all tables in a database mysql code example
Example 1: mysql show all tables
show tables;
Example 2: mysql check all tables
mysqlcheck -c mydatabasename -u root -p
show tables;
mysqlcheck -c mydatabasename -u root -p