Skip to content

Instantly share code, notes, and snippets.

@j3N0
Created July 9, 2019 12:36
Show Gist options
  • Save j3N0/abdf62d2275700c09d7d9291926a18f3 to your computer and use it in GitHub Desktop.
Save j3N0/abdf62d2275700c09d7d9291926a18f3 to your computer and use it in GitHub Desktop.
mysql通过sql文件导入数据时出现乱码的解决办法
mysql -u root -p password < path_to_import_file –default-character-set = utf8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment