Bug #114882 | Unexpected incompatibility in InnoDB Foreign Key constraint with Error 6125 | ||
---|---|---|---|
Submitted: | 5 May 2024 8:00 | Modified: | 7 May 2024 4:45 |
Reporter: | Tsubasa Tanaka (OCA) | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 8.4.0 | OS: | CentOS (7.9) |
Assigned to: | CPU Architecture: | x86 | |
Tags: | ER_FK_NO_UNIQUE_INDEX_PARENT, Failed to add the foreign key constraint, Missing unique key |
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