Bug #42994 REPLACE INTO results in a DUPLICATE KEY error on the AUTO_INCREMENT primary key
Submitted: 18 Feb 2009 21:47 Modified: 19 Feb 2009 23:04
Reporter: Chris Calender Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S2 (Serious)
Version:5.1.30, 5.1.31 OS:Any
Assigned to: Assigned Account CPU Architecture:Any
Tags: auto_increment, duplicate key, innodb, REPLACE

File: Maximum allowed size is 50MB.
Description:
Privacy:

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: