日期:2014-05-16  浏览次数:20499 次

mysql里如何查询含特定表的数据库
例如在mysql中共有10个数据库,其中2个数据库含有表“wp_config”, 怎么通过sql查询到含有表“wp_config”的数据库?

select table_schema from information_schema.tables where table_name = 'wp_config';