with a length> 191. How do I properly expand this field to avoid Data truncation error?
Hi, guys! My question is still relevant. I thought, that it is possible to not reduce my field and increase the maximum length of index from 767 to 3072 using innodb_large_prefix. Does anyone know how to do this properly and are there any pitfalls exist?
open the docs, mate. it literally says, large prefix is enabled by default since 5.7 and is deprecated.
mature technology... then it might make sense. but you have to create table with certain options to make it work
so how do you propose to handle my problem?
drop index, expand column, change collation. ziv already told you
Либо пиши на русском, либо иди в английский чат.
Обсуждают сегодня