- You can add
--max_allowed_packet=512M
to yourmysqldump
command. - Or add
max_allowed_packet=512M
to[mysqldump]
section of yourmy.cnf
(thanks @Varun)
Note: it will not work if it is not under the [mysqldump]
section…
--max_allowed_packet=512M
to your mysqldump
command.max_allowed_packet=512M
to [mysqldump]
section of your my.cnf
(thanks @Varun)Note: it will not work if it is not under the [mysqldump]
section…