Skip to content

Instantly share code, notes, and snippets.

@AlexanderRD
Created December 17, 2014 11:02
Show Gist options
  • Save AlexanderRD/3266874f18b37c72529d to your computer and use it in GitHub Desktop.
Save AlexanderRD/3266874f18b37c72529d to your computer and use it in GitHub Desktop.
Basic mysqldump import/export examples
To export:
mysqldump -u mysql_user -p DATABASE_NAME > backup.sql
To import:
mysql -u mysql_user -p DATABASE < backup.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment