I keep getting error
mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes when dumping table `PLUGINDATA` at row: 27
then I have checked the table and found there is a blob type column there. Just wondering what kind of data gets stored in this blob. Hope it is not any jar file.
Hi Ganesh,
PLUGINDATA stored the jar files of all installed plugins on Confluence.
Hope it helps.
Cheers,
Septa Cahyadiputra
Hi Ganesh,
The data stored in the PLUGINDATA table is actually the 3rd-party plugins that you install into your instance. However, the error you are receiving for the 'max_allowed_packet' size is related to your MySQL database not allowing a sufficient packet size for the installed plugin and therefore you should increase that by following the instructions in this Knowledge Base article to resolve this issue: https://confluence.atlassian.com/display/JIRAKB/Exceeds+Max+Allowed+Packet+for+MySQL
All the best,
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Its for Confluence clustered environment. To ensure that all the nodes is having the same plugins installed. During the startup process, this JAR files will be intialized to the HOME directory.
Hope it helps.
Cheers,
Septa Cahyadiputra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is most probably a mysqldump error. See here http://www.serveridol.com/2010/10/10/mysqldump-error-2020-got-packet-bigger-than-max_allowed_packet-bytes-when-dumping-table/
Finally the real solution is you need to add the “max_allowed_packets” parameter along with the mysqldump. mysqldump is notorious for ignoring this value in my.cnf, but setting it as the command line parameter always works.
#mysqldump -u root -p –max_allowed_packet=512M -B database –tables tblblogdb > dump.sql
I think it’s always better to run large mysqldump from another server from the same network which help to reduce disk resource and cpu power during the peak hours. Here is the one sample,
#$MYSQLDUMP –max_allowed_packet=1G -u $MyUSER -h $MyHOST -p$MyPASS -B $db | bzip2 > $FILE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.