İnsert den ignore deneyiniz.
https://stackoverflow.com/questions/548541/insert-ignore-vs-insert-on-duplicate-key-update