MySQL import and export with M2

To avoid the definer error, user magerun to export the mysql dump

1
php n98-magerun2.phar db:dump