Skip to content

Instantly share code, notes, and snippets.

@kathangeorg
Created November 15, 2012 17:27
Show Gist options
  • Save kathangeorg/4079941 to your computer and use it in GitHub Desktop.
Save kathangeorg/4079941 to your computer and use it in GitHub Desktop.
bash mysql mysqldump charset
mysqldump --default-character-set=utf8 -udb58799_xxx -pxxxxxxxxxx -hmysql5.xxxxxx.de db58799_xxx > db58799_xxx_1211_v2.sql
mysql --default-character-set=utf8 -udb58799_xxx -pxxxxxxxxxx -hmysql5.xxxxxx.de db58799_xxx < db58799_xxx_1211_v2.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment