mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes

导出数据库时,报以下错误:

mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes when dumping table `ib_mailbox_backup` at row: 3369

 

解决办法:

 

You can add --max_allowed_packet=512M to your mysqldump command.

Or add max_allowed_packet=512M to [mysqldump] section of your my.cnf

你可能感兴趣的:(MysqlDump)