20.2. DROP TRIGGER
Syntax
DROP TRIGGER [schema_name
.]trigger_name
This statement drops a trigger. The schema (database) name is
optional. If the schema is omitted, the trigger is dropped from
the default schema. DROP TRIGGER
was added in
MySQL 5.0.2. Its use requires the TRIGGER
privilege for the table associated with the trigger. (This
statement requires the SUPER
privilege prior to
MySQL 5.1.6.)
Note: When upgrading from a version of MySQL
older than MySQL 5.0.10 to 5.0.10 or newer — including all
MySQL 5.1 releases — you must drop all triggers
before upgrading and re-create them
afterward, or else DROP TRIGGER
does not work
after the upgrade. See Section 2.10.1, “Upgrading from MySQL 5.0”, for a
suggested upgrade procedure.