摘要:
1,查看索引 show index from tablename; show keys from tablename; 2,添加索引 alter table tablename add index index_name(column_list); alter table tablename add unique(column_list); alter table tablename add primary key (column_list); 3,查看某一个表用了什么引擎 show create table tablename; 4,自动提交 ... 阅读全文