SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES  WHERE table_schema = '库名' 

mysql 统计某个库中有多少张表_系统