850886470

2132 经验值

如果购买的是阿里云数据库RDS版,可开启配置innodb_large_prefix,执行迁移的时候就不会报这个错误了
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes