mysql 查找某个表在哪个库

SELECT table_schema FROM information_schema.TABLES WHERE table_name = '表名';

posted @ 2016-10-26 14:52  码农骆驼  阅读(2660)  评论(0编辑  收藏  举报