Drush sql-dump with stored procedures
I got it working for MySQL with the extra option:

$&gt; drush sql-dump --extra="--routines"


References:


Drush command: https://drushcommands.com/drush-8x/sql/sql-dump/
MySQL dump options: https://dev.mysql.com/doc/refman/5.5/en/mysqldump-stored-programs.html