mysqldump error: Got packet bigger than max_allowed_packet'

前端 未结 4 1450
遥遥无期
遥遥无期 2021-02-01 12:21

My application download mails over IMAP and stores them in a MySQL database. Earlier I was supporting mails size upto 10 MB and hence a \'mediumtext\' column to store the mail c

4条回答
  •  隐瞒了意图╮
    2021-02-01 13:04

    I had a similar error and would fail with packet size 512M on row 0. It was an innodb table that was apparently damaged (mysqlcheck showed OK). I ended up re-creating the table and then it worked fine with a small packet size of just 128M.

提交回复
热议问题