Several options control how mysqldump handles stored programs (stored functions and procedures, triggers, and events):
--events
: Dump Event
Scheduler events
--routines
: Dump stored
functions and procedures
--triggers
: Dump
triggers for tables
The --triggers
option is
enabled by default so that when tables are dumped, they are
accompanied by any triggers they have. The other options are
disabled by default and must be specified explicitly to dump
the corresponding objects. To disable any of these options
explicitly, use its skip form:
--skip-events
,
--skip-routines
,
or
--skip-triggers
.
User Comments
Add your own comment.