解决ERROR 1071 (42000) : Specified
2019-07-26 本文已影响0人
彬荣
-
系统变量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 ;//设置格式