A trigger is a database object that is associated with a table and that is defined to activate (or “trigger”) when a particular kind of event occurs for that table. This chapter describes how to define and use triggers in MySQL. It covers the following exam topics:
Reasons to use triggers
Creating and dropping triggers
Privileges required for triggers
The examples in this chapter require a table that can be modified. ...