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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

121 views 3 3
Join discussion

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