MySQL - The size of BLOB,TEXT data inserted in one transaction is greater than 10% of redo log size - Increase the redo log size using innodb log file size

Материал из 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 - The size of BLOB,TEXT data inserted in one transaction is greater than 10% of redo log size - Increase the redo log size using innodb log file size

Если при импорте базы получаем ошибку вида:

ERROR 1118 (42000) at line 2959: The size of BLOB/TEXT data inserted in one transaction is greater than 10% of redo log size. Increase the redo log size using innodb_log_file_size.

то нужно увеличить параметр innodb_log_file_size в конфиг файле my.cnf и повторить импорт:

innodb_log_file_size=256M

и перезагрузить mariadb:

# systemctl restart mysql