Bug #57549 mysqldump : Lost Connection Error
Submitted: 19 Oct 2010 5:49 Modified: 19 Nov 2010 6:00
Reporter: Anil Alpati Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.1.45 OS:Any (Ubuntu 10.04)
Assigned to: CPU Architecture:Any

[19 Oct 2010 5:49] Anil Alpati
Description:
Below backup script is not working -- 

mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table `jicontentresource` at row: 18

I have included following parameters .. even then its show the same 
./mysqldump -uuser -hhostip -ppassword -t --skip-comments --compress --hex jasperserver > /media/1A04E0CB04E0AB49_/85-DatabaseBackups/jasperserver-`date -I`.sql

How to repeat:
same as above
[19 Oct 2010 5:59] MySQL Verification Team
did you try adding --max-allowed-packet=1G option to mysqldump ?
did you check the server doesn't crash?
[20 Nov 2010 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".