Bug #70171 | ALTER TABLE add foreign key causes failure to rename temporary table on 5.6.12+ | ||
---|---|---|---|
Submitted: | 28 Aug 2013 3:59 | Modified: | 12 Nov 2013 8:43 |
Reporter: | Andrew Mann | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 5.5.32,5.5.33, 5.6.12, 5.6.13 | OS: | Linux (Ubuntu 12.04 LTS) |
Assigned to: | CPU Architecture: | Any | |
Tags: | ALTER TABLE, foreign key, innodb, regression, renaming table |
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