1、查询指定用户下所有表

select count(*) from information_schema.tables where table_schema='数据库用户名';

2、查询指定用户下所有表名

select table_name from information_schema.tables where table_schema='数据库用户名';