How do you list all triggers in a MySQL database?

Harry picture Harry · Sep 6, 2008 · Viewed 116k times · Source

What is the command to list all triggers in a MySQL database?

Answer

Harry picture Harry · Sep 6, 2008

The command for listing all triggers is:

show triggers;

or you can access the INFORMATION_SCHEMA table directly by:

select trigger_schema, trigger_name, action_statement
from information_schema.triggers