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.

Revisions

  1. sajt created this gist Jan 20, 2024.
    2 changes: 2 additions & 0 deletions replace.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    sed -i '' 's/utf8mb4_0900_ai_ci/utf8_general_ci/g' dump.sql
    sed -i '' 's/utf8mb4/utf8/g' dump.sql