Bug #44953 | Error 2013: Lost connection to MySQL server during query when dumping table NFS | ||
---|---|---|---|
Submitted: | 19 May 2009 13:19 | Modified: | 19 Oct 2011 22:02 |
Reporter: | Guy Baconniere | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S2 (Serious) |
Version: | 4.1.11,5.1.34 | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | big table, compatible mysql40, dump table, ERROR 2013, Latin1, Lost connection, mysqldump, rt ticket, utf8 |
If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.
To split a large file:
- On *nix platforms use the split command e.g.
split -b 50MB <my_large_archive> <my_split_archive_prefix>
- On windows use WinZip or a similar utility to split the large file
[19 May 2009 16:26]
Guy Baconniere
[20 May 2009 11:28]
Guy Baconniere
mysqldump --set-charset --default-character-set=latin1 -hmysql4111 rt341 ABacoTickets
Attachment: ABacoTickets-latin1.sql (text/x-sql), 3.50 KiB.
[20 May 2009 11:30]
Guy Baconniere
mysqldump --set-charset --compatibile=mysql40 -hmysql4111 rt341 ABacoTickets
Attachment: ABacoTickets-mysql40.sql (text/x-sql), 2.95 KiB.
[20 May 2009 11:31]
Guy Baconniere
mysqldump --skip-lock-tables --set-charset -hmysql4111 rt341 ABacoTickets
Attachment: ABacoTickets-utf8.sql (text/x-sql), 3.52 KiB.
[20 May 2009 11:33]
Guy Baconniere
mysqldump --skip-lock-tables --set-charset -hmysql5051a rt341 ABacoTickets
Attachment: ABacoTickets-utf8-rtdb.sql (text/x-sql), 3.54 KiB.