[SOLVED] Error 1062 Mysql Duplicate Entry Primary

First I would like to thank google translate, because I can not speak English, Hopefully that experienced the same error can be helped by this article.

If you encounter errors like this mysql error, "MySQL import error 1068 - Multiple primary key defined, ERROR 1062 (23000) at line 5: Duplicate entry '1' for key 'PRIMARY', ERROR 1062 (23000) at line 52122: Duplicate entry '1' for key 'PRIMARY', Error Code: 1062. Duplicate entry 'PRIMARY', Error 1062. Duplicate entry in mysql, MySQL error - #1062 - Duplicate entry ' ' for key 2, Error Code: 1062. Duplicate entry '1' for key 'PRIMARY'"

The error is caused at the time of export mysql database. What we need to do is fix several options when exporting a file mysql. Please see the picture below. I use phpmyadmin to export the database.

Multiple primary key defined Error 1062 Duplicate entry 2
1
Multiple primary key defined Error 1062 Duplicate entry 2
2
The problem I am done with this at all, it's your turn to try. Good luck.

Jika artikel ini kurang enak dimakan, salahkan Google Translate. :D
Load disqus comments

0 komentar