标签: mysql indexing
我无法在varchar(500)上创建索引。
varchar(500)
MySQL:Specified key was too long; max key length is 1000 bytes
Specified key was too long; max key length is 1000 bytes
答案 0 :(得分:24)
latin1 = 1 byte = 1 character uft8 = 3 byte = 1 character gbk = 2 byte = 1 character