Bug #90896 | INSERT...SELECT silently truncates LONGTEXT to TEXT | ||
---|---|---|---|
Submitted: | 16 May 2018 21:17 | Modified: | 24 May 2018 18:51 |
Reporter: | Kelly Price | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Errors | Severity: | S3 (Non-critical) |
Version: | 5.5/5.6/5.7/8.0 | OS: | Ubuntu (4.13.0-41-generic) |
Assigned to: | CPU Architecture: | x86 (Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz) |
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