7.4.5.3 Dumping Stored Programs

Several options control how mysqldump handles stored programs (stored procedures and functions and triggers):

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-routines or --skip-triggers.