Created
January 20, 2024 10:02
-
-
Save sajt/061b7c0c71b5954a9e052a4c83703a08 to your computer and use it in GitHub Desktop.
Replace mysql collation on mac OSX
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 -i '' 's/utf8mb4_0900_ai_ci/utf8_general_ci/g' dump.sql | |
sed -i '' 's/utf8mb4/utf8/g' dump.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment