Here's the catch, it says at line 799569
, but after opening the actual SQL file, and going to that line, the line is fine; and moreover, the database contains the data inserted at that line. The error must be somewhere else.
The error says nothing else than ERROR 1062 (23000) at line 799569: Duplicate entry '1' for key 'PRIMARY'
. Not so informative.
How do I debug a Mysql import?