Forked from karlazz/change encoding from new to old in mysql
Last active
October 30, 2017 18:56
-
-
Save felipepodesta/bc7b7d9c2cfd7009eff3b71439c12445 to your computer and use it in GitHub Desktop.
Change encoding from NEW to OLD in MySQL
This file contains hidden or 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
sed -ie 's/utf8mb4_unicode_520_ci/utf8_general_ci/g' mysql.sql | |
sed -ie 's/CHARSET=utf8mb4/CHARSET=utf8/g' mysql.sql | |
sed -ie 's/utf8mb4_unicode_ci/utf8_general_ci/g' mysql.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment