MySQL - ERROR 1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


MySQL - ERROR 1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs

# mysql dump_oprose < dump_oprose .sql
ERROR 1118 (42000) at line 556: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs

Ошибка означает, что при создании таблицы общий размер всех полей больше чем 65535 и нужно заменить varchar(n) тип данных на text


О том как можно еще обойти лимиты: