当前位置:首页 > 数据库 > 正文

MYSQL报错:#1089 - Incorrect prefix key; the used key part isn&

2020-02-12 数据库

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

解决办法:

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

温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/SQL/15307.html