Skip to content

Instantly share code, notes, and snippets.

@webspectyler
Created October 8, 2013 15:31
Show Gist options
  • Save webspectyler/6886553 to your computer and use it in GitHub Desktop.
Save webspectyler/6886553 to your computer and use it in GitHub Desktop.
Specify file encoding in a mysql import
mysql -h host -u username -p password --default_character_set utf8 database < file.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment