Open celsoft opened 6 years ago
Which database in which version do you use?
Related to #42 and #52
Please do not change the charset to latin1
. We need to find another solution.
Based on this answer it should actually be OK, since the field is VARCHAR(255)
and it's UTF8
which has 3 bytes, which should sum up to 765
.
But this is for MySQL, not Percona .... the question is, if Percona has the same values, since the error complains about exceeding a key length of 1000
, which could be related to Percona using UTF8MB4
with 4 bytes per char(?)
Could someone on Percona debug this by setting the key length to 249
(or 250
), which should result in a key length of 996
(or 1000
) and therefore work.
CC: @handcode
Why not? Whats wrong with latin1
? I guess, using utf8 symbols as keys for settings is not a common solution
Might not be common, but I'd rather prefer a bit shorter key, than having one column in my DB which is not UTF8
.