Bug #82830 | Load data error 1262 behaviour different between 5.6 and 5.7 under strict sqlmod | ||
---|---|---|---|
Submitted: | 1 Sep 2016 2:41 | Modified: | 25 Oct 2016 15:20 |
Reporter: | lou shuai (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Errors | Severity: | S2 (Serious) |
Version: | 5.7, 5.7.14 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | 1262, 5.7, error, LOAD DATA, sql mode, sqlmode, strict |
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