Note until this is fixed you should not use --innodb-optimize-keys on tables with foreign keys. Otherwise it will duplicate your keys the first time it's dumped restored and result in the above error the second time it's dumped restored.
Note until this is fixed you should not use --innodb- optimize- keys on tables with foreign keys. Otherwise it will duplicate your keys the first time it's dumped restored and result in the above error the second time it's dumped restored.