Created
March 16, 2017 12:35
-
-
Save schwabix/0230a9a2f25f9cd331f8a4a31ca09997 to your computer and use it in GitHub Desktop.
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
mysqldump -u<USER> -h<HOST> -p --lock-tables=false <DB> -r dump.sql | |
mysql -u<USER> -p --default-character-set=utf8 <DB> | |
mysql> SET names 'utf8'; | |
mysql> SOURCE dump.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment