-- https://dev.mysql.com/doc/refman/8.0/en/drop-index.html /* DROP INDEX index_name ON tbl_name [algorithm_option | lock_option] ... algorithm_option: ALGORITHM [=] {DEFAULT | INPLACE | COPY} lock_option: LOCK [=] {DEFAULT | NONE | SHARED | EXCLUSIVE} */ DROP INDEX `PRIMARY` ON t ALGORITHM = DEFAULT; DROP INDEX `PRIMARY` ON t ALGORITHM = INPLACE; DROP INDEX `PRIMARY` ON t ALGORITHM = COPY; DROP INDEX `PRIMARY` ON t LOCK = DEFAULT; DROP INDEX `PRIMARY` ON t LOCK = NONE; DROP INDEX `PRIMARY` ON t LOCK = SHARED; DROP INDEX `PRIMARY` ON t LOCK = EXCLUSIVE; DROP INDEX `PRIMARY` ON t ALGORITHM DEFAULT; DROP INDEX `PRIMARY` ON t ALGORITHM INPLACE; DROP INDEX `PRIMARY` ON t ALGORITHM COPY; DROP INDEX `PRIMARY` ON t LOCK DEFAULT; DROP INDEX `PRIMARY` ON t LOCK NONE; DROP INDEX `PRIMARY` ON t LOCK SHARED; DROP INDEX `PRIMARY` ON t LOCK EXCLUSIVE;