MySQL:错误代码:1118行大小太大(> 8126)。将某些列更改为TEXT或BLOB
我想创建一个包含325列的表: CREATE TABLE NAMESCHEMA.NAMETABLE ( ROW_ID TEXT NOT NULL , //this is the primary key 324 column of these types: CHAR(1), DATE, DECIMAL(10,0), DECIMAL(10,7), TEXT, LONG, ) ROW_FORMAT=COMPRESSED; 我用TEXT替换了所有VARCHAR,并在MySQL的my.ini文件中添加了梭子鱼,这是添加的属性: innodb_file_per_table=1 innodb_file_format=Barracuda innodb_file_format_check = ON 但是我仍然有这个错误: Error Code: 1118 Row size too large (> 8126). Changing some columns to TEXT or …