首页 > 数据库技术 > 详细

MYSQL报错:#1089 - Incorrect prefix key; the used key part isn't a string

时间:2019-12-09 14:53:27      阅读:179      评论:0      收藏:0      [点我收藏+]

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

技术分享图片

解决办法:

技术分享图片

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

MYSQL报错:#1089 - Incorrect prefix key; the used key part isn't a string

原文:https://www.cnblogs.com/liucaixia/p/12010149.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!