how to find all tables in mysql code example Example 1: mysql show all tables show tables; Example 2: mysql check all tables mysqlcheck -c mydatabasename -u root -p