Bug #42115 | Restoring from a dump adds "\n" randomly in queries longer than 32Mb | ||
---|---|---|---|
Submitted: | 14 Jan 2009 15:19 | Modified: | 15 Jan 2009 22:09 |
Reporter: | Txema Heredia | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: General | Severity: | S1 (Critical) |
Version: | 5.1.28-rc-community-log | OS: | Linux (2.6.16.60-0.27-smp x86_64) |
Assigned to: | CPU Architecture: | Any | |
Tags: | Backup, BLOB, longblob, longtext, restore, text |
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