Skip to content

1071 Specified key was too long; max key length is 1000 bytes #1697

Answered by drbyte
hernandohack asked this question in Q&A
Discussion options

You must be logged in to vote

Answered in your other post:
#1689 (comment)

Summary: Use defaultStringLength(125) if you're on MySQL 8.0. Or use MariaDB instead.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by drbyte
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants