set session innodb_strict_mode = OFF;
ここでcreate文
set session innodb_strict_mode = ON;
strict mode確認
SHOW VARIABLES LIKE 'innodb_strict_mode';
※ 本来やらない作業だが前任者が無理やり無茶なテーブルをつくってしまい
引き継いだ私がカラムのAdd ,カラムのDropもできなくなった。
(Dropしたあとでも行サイズが制限超えるため Dropすらエラーになった。。。)
ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not coun
ting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some
columns to TEXT or BLOBs