[ERROR] InnoDB: The total blob data length (13422629) is greater than 10% of the total redo log size (134217728). Please increase total redo log size.
原因
在 MySQL 5.6.20 及更高版本上,对表中的 InnoDB 和 BLOB 数据大小进行了更改,并且 InnoDB 日志应至少比表行中找到的最大 BLOB 数据大小高 10 倍,如果 innodb_log_file_size 太小,则在尝试导入表、数据库时可能会遇到错误。
解决
在 /etc/my.cnf 修改如下配置后,重启 MySQL 服务。
innodb_log_file_size = 128M innodb_log_buffer_size = 512M
有好的文章希望我们帮助分享和推广,猛戳这里我要投稿
还没有评论,来说两句吧...