Skip to content

Instantly share code, notes, and snippets.

@drewdeponte
Created December 7, 2009 07:15
Show Gist options
  • Save drewdeponte/250681 to your computer and use it in GitHub Desktop.
Save drewdeponte/250681 to your computer and use it in GitHub Desktop.
Need to get a listing of the triggers that exist in your database. Use the following:
mysql> show triggers;
Show triggers method sometimes doesn't show all of the triggers for some reason so you might want to access the triggers directly via the following:
mysql> select trigger_schema, trigger_name, action_statement from information_schema.triggers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment