Skip to content

Instantly share code, notes, and snippets.

@nplusp
Created April 12, 2019 12:45
Show Gist options
  • Save nplusp/5c2a579f14283063743d0b8701171d3f to your computer and use it in GitHub Desktop.
Save nplusp/5c2a579f14283063743d0b8701171d3f to your computer and use it in GitHub Desktop.
fix mysql max index length of 767
ALTER DATABASE dbname CHARACTER SET utf8 COLLATE utf8_general_ci;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment