Got packet bigger than 'max_allowed_packet' bytes when dumping table `plugindata` at row: 21

Hoping for some help.

Mysql is configured for 64mb max_allowed_packet size.

Getting this error when using mysqldump to export:

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

Row 21 in plugindata table is com.atlassian.upm.plugin-license-storage-plugin


First noted when trying to import the dump into new/clone instance. Max allowed packet bumped up to 2048M and still error persists.

Any ideas?

1 answer

This widget could not be displayed.

Configuration of MySql and mysqldump is different (if you mean /etc/my.cfg}}.

You have a two solution:

  1. Add the command line parametr {{--max_allowed_packet=64M}} to your mysqldump command
  2. Or add max_allowed_packet=512M to [mysqldump] section of your my.cnf

See on http://stackoverflow.com/questions/8815445/mysqldump-error-got-packet-bigger-than-max-allowed-packet .

Cheers,

Libor

Thanks for your suggestions, but as I mentioned in the OP, max_allowed_packet has already been increased. I use 512m while taking the mysqldump and 512/1024/2048 in the import statement on the new server. The my.cnf is configured (on both source and dest server) with 64mb. Error persists.

@libor.tvrdik@telefonica.com 's instructions work for me.  Please see below

[kvu@myserver mysqldump_files]$ mysqldump -uroot -p confluence > mysqldump-2016-05-24-18-32.sql
Enter password:
mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes when dumping table `PLUGINDATA` at row: 47
[kvu@myserver mysqldump_files]$ vi /etc/my.cnf
[kvu@myserver mysqldump_files]$
[kvu@myserver mysqldump_files]$ mysqldump --max_allowed_packet=256M -uroot -p confluence > mysqldump-2016-05-24-18-32.sql

image2016-5-24 18:53:31.png

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

61 views 8 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you