Last active
August 29, 2015 13:57
-
-
Save koyoyo/9635369 to your computer and use it in GitHub Desktop.
MYSQL Error text long size because of have many Text field on table.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DatabaseError: (1118, 'Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.') | |
SET GLOBAL innodb_file_format=Barracuda; | |
SET GLOBAL innodb_file_per_table=ON; | |
ALTER TABLE nombre_tabla | |
ROW_FORMAT=COMPRESSED | |
KEY_BLOCK_SIZE=8; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment