DROP TRIGGER [IF EXISTS] [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.
TRIGGER privilege for
the table associated with the trigger.
IF EXISTS to prevent an error from
occurring for a trigger that does not exist. A
NOTE is generated for a nonexistent trigger
IF EXISTS. See
Section 220.127.116.11, “SHOW WARNINGS Syntax”.
Triggers for a table are also dropped if you drop the table.
When upgrading from a version of MySQL older than MySQL 5.0.10
to 5.0.10 or higher—including all MySQL 5.5
releases—you must drop all triggers and re-create them.
DROP TRIGGER does not
work for older triggers after the upgrade. See
Section 18.104.22.168, “Changes Affecting Upgrades to MySQL 5.5”, for a
suggested upgrade procedure.