mysql查看表结构命令,如下: desc 表名; show columns fro m 表名; describe 表名; show create table 表名; show index from 表名;