Created
January 7, 2012 16:46
-
-
Save mungomash/1575274 to your computer and use it in GitHub Desktop.
MySQL command line cheat sheet
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
# create dump file from database | |
mysqldump wp_blog > 2012.1.7.mysql.dump.sql | |
# apply dump file to database wp_blog with user as root | |
mysql -u root wp_blog < 2012.1.7.mysql.dump.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment