Sửa lỗi "Row size too large (> 8126)" MySQL

Trong quá trình thực thi câu lệnh MySQL, có thể bạn sẽ gặp phải lỗi sau:

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.

Cách khắc phục lỗi là chỉnh sửa file C:\xampp\mysql\bin\my.ini, thêm dòng sau

innodb_strict_mode=0

Bình luận
Zalo