mysql get all tables code example
Example 1: mysql find tables with name
SELECT table_name
FROM information_schema.tables
WHERE table_type = 'base table' AND table_name like '%YOUR TABLE NAME%';
Example 2: mysql show all tables
show tables;
Example 3: mysql command show tables
SHOW TABLES;
Example 4: select tables from mysql database
SHOW TABLES from <databasename>;
Example 5: mysql check all tables
mysqlcheck -c mydatabasename -u root -p