1062 - Duplicate entry '1' for key 'PRIMARY'

Asked

Viewed 491 times

-2

Today I uploaded a DB in Phpmyadmin but gave an error

1062 - Duplicate entry '1' for key 'PRIMARY'

Went to see on the table that gave error, everything was normal, is there any problem? or I have to try to solve the error and upload again?

1 answer

0

this error probably happened because some record of your table has a primary key value that already belongs to another record... each Primary key value must be unique in a table.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.