mysql 查找数据库中有多少张表 SELECT count(*) TABLES, table_schema FROM information_schema.TABLES where table_schema = 'test' GROUP BY table_schema;将test更改成你要查找的数据库就可以了。