Created
August 23, 2018 13:30
-
-
Save carlosspohr/0f4039af4661d9ebaa8eb04a1360b2f1 to your computer and use it in GitHub Desktop.
How to dump only triggers and procedures/functions without table structure and data.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysqldump -u root -p --no-data --routines --triggers -t your-database > triggers.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment