Created
November 28, 2016 07:17
-
-
Save gelanivishal/c3a2f155c0d203bf288464d8d9772ea4 to your computer and use it in GitHub Desktop.
Import Export command for Db via terminal
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
// Import Database in WAMP: | |
mysql -u username -p database_name < your_sql_file.sql | |
// Export Database in WAMP: | |
mysqldump -u username -p database_name > db_file.sql | |
mysqldump -u db_username -p --compress --disable-keys --quick db_name | gzip > db.sql.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment