MYSQL报错:#1089 - Incorrect prefix key; the used key part isn't a string
Posted lcx
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MYSQL报错:#1089 - Incorrect prefix key; the used key part isn't a string相关的知识,希望对你有一定的参考价值。
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的主要内容,如果未能解决你的问题,请参考以下文章
MYSQL插入emoji报错解决方法Incorrect string value
mysql 插入中文报错: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect datetime value...
记录:MySQL报错1075 - Incorrect table defintion;there can be only...解决方案
Mysql 升级到 5.6 后插入语句时间字段报错:Incorrect datetime value: '' for column 'createtime'
很爽的一点。用Mysql5.x以上版本出现报错#1929 Incorrect datetime value: '' for column 'createtime' 解决
mysql插入报错:java.sql.SQLException: Incorrect string value: 'xE6x9DxADxE5xB7x9E...' for c