"指定的键太长;最大密钥长度为 1000 字节"

2021-12-21 00:00:00 indexing mysql

我无法在 varchar(500) 上创建索引.

I can't create index on varchar(500).

MySQL:指定的键太长;最大密钥长度为 1000 字节

推荐答案

latin1 = 1 byte = 1 character
uft8 = 3 byte = 1 character
gbk = 2 byte = 1 character

相关文章