#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
截图如下:

原来,在设置id为索引时,不小心填写了后面的大小,导致的错误,将大小留空即可:

部分素材资源来源网站,本站提供免费下载,如有侵权请联系站长马上删除!
我爱模板网新建了个MySQL数据库,往里面插入内容时,报了下面的错误: 1366: Incorrect string value: '我爱模板网' for column 'name' at row 1 插入英文或数字没问题,应该是字符编码问题。打开表