mysql报错MySQLSyntaxErrorException: Specified key was too long; max key length is 767 byte
1,设置变量innodb_large_prefix innodb_file_format
SET GLOBAL innodb_large_prefix = ON;
SET GLOBAL innodb_file_format=Barracuda;
1,设置变量innodb_large_prefix innodb_file_format
SET GLOBAL innodb_large_prefix = ON;
SET GLOBAL innodb_file_format=Barracuda;