MySQL: primary key length with utf8mb4
|Reported by:||Owned by:|
Description (last modified by )
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.