首页 > 技术文章 > MYSQL报错:#1089

liucaixia 2019-12-09 11:44 原文

MYSQL报错:#1089 - Incorrect prefix key; the used key part isn't a string, the used length is longer than the key part, or the storage engine doesn't support unique prefix keys

解决办法:

添加索引时大小不要设置即可

推荐阅读