Skip to content

Instantly share code, notes, and snippets.

@sajt
Created January 20, 2024 10:02
Show Gist options
  • Save sajt/061b7c0c71b5954a9e052a4c83703a08 to your computer and use it in GitHub Desktop.
Save sajt/061b7c0c71b5954a9e052a4c83703a08 to your computer and use it in GitHub Desktop.
Replace mysql collation on mac OSX
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