Skip to content

Instantly share code, notes, and snippets.

@czwen
Created March 18, 2020 15:18
Show Gist options
  • Save czwen/4f4855a2281e5546f989496df6cca196 to your computer and use it in GitHub Desktop.
Save czwen/4f4855a2281e5546f989496df6cca196 to your computer and use it in GitHub Desktop.
mysqldump all database
mysqldump -u root -p --all-databases --add-drop-database --add-drop-table > all.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment