MySQL: primary key length with utf8mb4
— at Version 2
Similarly to #3676, the error (1071, 'Specified key was too long; max key length is 767 bytes')
appears when initializing a project. Differently from the mentioned case I tried to use utf8mb4
encoding of my database. The suggested quick fix didn't work, I assume for the encoding. However changing to utf8
encoding resolved the problem.
Change History
(2)
Keywords: |
max key length removed
|
Resolution: |
→ duplicate
|
Status: |
new → closed
|
Version: |
0.12-stable → 0.12.2
|
Description: |
modified (diff)
|
A duplicate of #9766. Try to upgrade to 0.12.3 or later.