Syntax\n------\n\nDROP INDEX [IF EXISTS] index_name ON tbl_name \n    [WAIT n |NOWAIT]\n\nDescription\n-----------\n\nDROP INDEX drops the index named index_name from the table tbl_name. This statement is mapped to an ALTER TABLE statement to drop the index.\n\nIf another connection is using the table, a metadata lock is active, and this statement will wait until the lock is released. This is also true for non-transactional tables.\n\nSee ALTER TABLE.\n\nAnother shortcut, CREATE INDEX, allows the creation of an index.\n\nTo remove the primary key, PRIMARY must be specified as index_name. Note that the quotes are necessary, because PRIMARY is a keyword.\n\nPrivileges\n\nExecuting the DROP INDEX statement requires the INDEX privilege for the table or the database.\n\nOnline DDL\n\nOnline DDL is used by default with InnoDB, when the drop index operation supports it.\n\nSee InnoDB Online DDL Overview for more information on online DDL with InnoDB.\n\nDROP INDEX IF EXISTS ...\n\nIf the IF EXISTS clause is used, then MariaDB will return a warning instead of an error if the index does not exist.\n\nWAIT/NOWAIT\n\nSets the lock wait timeout. See WAIT and NOWAIT.\n\nProgress Reporting\n\nMariaDB provides progress reporting for DROP INDEX statement for clients\\\nthat support the new progress reporting protocol. For example, if you were using the mariadb client, then the progress report might look like this::\n\nURL: https://mariadb.com/docs/server/reference/sql-statements/data-definition/drop/drop-index