查询表结构:desc 表名; 查询表索引:show index from 表名; 查看触发器:show triggers like '表名'; 原文地址:http://liqita.iteye.com/blog/1450995