Last active
January 14, 2019 21:01
-
-
Save luisfc/2b818598c2f1977d09566e16ced3e41d to your computer and use it in GitHub Desktop.
Import and export tables in MySQL
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
#Generating table backup: | |
mysqldump databaseName tableName > backup.sql -u user -p | |
#Restore table backup: | |
mysql -u root -p databaseName < backup.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment