show index from table1 alter table add primary (id) alter table aaa drop primary key alter table aaa drop index my_key 此命令是server级命令,会造成锁表,慎用