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