Specified key was too long max key length is 1000 bytes
程序员文章站
2022-06-23 09:10:14
Mysql建立索引时遇到一个问题就是索引字段长度太长,解决办法: 1.修改字段长度 ; 2.修改mysql默认的存储引擎 ,修改为INNODB; https://www.2cto.com/database/201211/167561.html ......
Mysql建立索引时遇到一个问题就是索引字段长度太长,解决办法:
1.修改字段长度 ;
2.修改mysql默认的存储引擎 ,修改为INNODB;
https://www.2cto.com/database/201211/167561.html
推荐阅读
-
ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
-
Laravel 5.4中migrate报错: Specified key was too long error的解决
-
peewee.InternalError: (1071, 'Specified key was too long; max key length is 1000 bytes')
-
Specified key was too long max key length is 1000 bytes
-
ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
-
MySQL错误“Specified key was too long; max key length is 100
-
Laravel 5.4中migrate报错: Specified key was too long error的解决
-
peewee.InternalError: (1071, 'Specified key was too long; max key length is 1000 bytes')
-
MySQL错误“Specified key was too long; max key length is 100_MySQL
-
laravel migrate时报错:Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes