Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence using MySQL Plugin Export/Import Problem

Thomas Petersen August 3, 2011

So I'm having a problem: I exported my DB save for the PLUGINDATA table and imported it just fine. I've been having a problem reimporting the plugins themselves..

[root@randomserver zipp]# mysql --max_allowed_packet=1024M confluence < confluence.plugindata.sql

ERROR 1153 (08S01) at line 44: Got a packet bigger than 'max_allowed_packet' bytes

Any suggestions? The dump file itself is only 48M

-rw-r--r-- 1 zipp users 48M Aug 3 14:37 confluence.plugindata.sql

1 answer

0 votes
Sergey Markovich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2011

Hi Thomas,

Have you set max_allowed_packet on MySQL server side too? When you set --max_allowed_packet=1024M parameter that is for MySQL client only. To change it on server change the my.cnf or my.ini file under the mysqld section and set max_allowed_packet=100M

You can also run these commands in a mysql console connected to that same server:

set global net_buffer_length=1000000;

set global max_allowed_packet=1000000000;

Thomas Petersen August 3, 2011

I opened up two consoles and had already tried those set commands and ended up getting the same error. Only thing I haven't done yet is trying to chunk the file? It's a 48M file so I see no reason it can't buffer this thing.

Thomas Petersen August 4, 2011

Got it. Had to resize max_allowed_packet in my.cnf and restart mysqld.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence whiteboards, whiteboard templates, template contest, visual collaboration, atlassian learning, confluence community, brainstorming tools, agile planning, team productivity, confluence templates, share your template

Share Your Confluence Whiteboard Template for a Chance to Be Featured in the Product! 🏆

Want to leave your mark on Confluence? One winner will have their whiteboard design added into Confluence for all users to access! This is your chance to showcase your creativity, help others, and gain recognition in the Confluence community.

Share your template today!
AUG Leaders

Atlassian Community Events