-
系统变量innodb_large_prefix为ON
-
系统变量innodb_file_format为Barracuda
-
ROW_FORMAT为DYNAMIC或COMPRESSED
show variables like '%innodb_large_prefix%';//查看是否开启
set global innodb_large_prefix=on;//如果没有开启设置开启
show variables like '%innodb_file_format%';//查看file格式
set global innodb_file_format=Barracuda;//设置格式
set global innodb_file_format_max=Barracuda;//设置格式
row_format=DYNAMIC或COMPRESSED ;//设置格式
网友评论