MySQL Dumping Cheat-Sheet

Make a quick dump of a mysql database:

mysql_dump db_name > backup-file.sql

You can then read that dump file back into the server like this

mysql db_name < backup-file.sql

or like this:

mysql -e “source /path/to/backup/backup-file.sql” db_name

One thought on “MySQL Dumping Cheat-Sheet

  1. Just desire to say your article is as amazing.
    The clarity in your post is just spectacular and i could assume you are an expert on this
    subject. Well with your permission let me to grab your feed
    to keep updated with forthcoming post. Thanks a million and please keep
    up the gratifying work.

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous post List of Ruby Operands
Next post Working with gems