查看mysql所有库中表总数量
查看所有:select count(*) tables ,table_schema from information_schema.tables group by table_schema;
查询单个:select count(*) tables ,table_schema from information_schema.tables where table_schema=\'yingshang\' group by table_schema;
查看所有:select count(*) tables ,table_schema from information_schema.tables group by table_schema;
查询单个:select count(*) tables ,table_schema from information_schema.tables where table_schema=\'yingshang\' group by table_schema;
相关文章: