Last active
July 31, 2016 15:04
-
-
Save hcosta/b361f7dff87a8ef80d8d to your computer and use it in GitHub Desktop.
import/export mysql db
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 -h localhost -u user_name -p your_database_name (your_table_name_optative) > dump_file.sql | |
mysql -u your_user -p your_database < dump_file.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment