mysql get all tables from database code example Example 1: mysql show all tables show tables; Example 2: mysql check all tables mysqlcheck -c mydatabasename -u root -p