phpMyAdmin error #1062 - Duplicate entry '1' for key 1

Webne picture Webne · Jul 22, 2010 · Viewed 63.4k times · Source

I am not sure why I am getting this error #1062 - Duplicate entry '1' for key 1 cany any one help explain what it means. Thanks

Answer

bradenkeith picture bradenkeith · Jul 22, 2010

More than likely your column is set to be Unique, and you're trying to input a row with an ID that already exists in your table.