gpt4 book ai didi

mysql - "Specified key was too long; max key length is 1000 bytes"

转载 作者:IT老高 更新时间:2023-10-28 23:57:51 24 4
gpt4 key购买 nike

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

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

最佳答案

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

关于mysql - "Specified key was too long; max key length is 1000 bytes",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1037598/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com