Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve support utf8mb4 by adding intermediate varchar 191 type #411

Closed
gabordemooij opened this issue Jan 2, 2015 · 1 comment
Closed

Improve support utf8mb4 by adding intermediate varchar 191 type #411

gabordemooij opened this issue Jan 2, 2015 · 1 comment

Comments

@gabordemooij
Copy link
Owner

@gabordemooij gabordemooij commented Jan 2, 2015

InnoDB has a maximum index length of 767 bytes, so with utf8mb4 you can only store 191 characters. This means that when you subsequently add an index to the column you get a (not-so-obvious) MySQL-error.

@Jemt
Copy link

@Jemt Jemt commented Apr 5, 2020

The strange length of 191 puzzled me. I appreciate that the reason was described here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants