Created
April 25, 2022 13:35
-
-
Save haeramkeem/a0684ac9f11971685b0df26eb457ec51 to your computer and use it in GitHub Desktop.
mysqldump command example
This file contains 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
#!/bin/bash | |
mysqldump -u username -p databasename > filename.sql # dump database | |
mysqldump -u username -p databasename tablename1 tablename2 > filename.sql #dump tables |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment