List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:July 29 2002 3:34pm
Subject:Re: MySQL ERROR 1062: Duplicate entry '1' for key 1
View as plain text  
In the last episode (Jul 29), Prince Chidi Ajuzie said:
> MySQL Question
> I run sql version 3.23.42.
> 
> LOAD DATA INFILE "/usr/lists" INTO TABLE lists;
> ERROR 1062: Duplicate entry '1' for key 1
> 
> Please how do i run this successfully. Ive tried the REPLACE option without
> any luck.

You probably have a TINYINT AUTOINCREMENT field, which means you can
only have 127 rows in your table.  Make it an INT or BIGINT.

-- 
	Dan Nelson
	dnelson@stripped
Thread
MySQL ERROR 1062: Duplicate entry '1' for key 1Prince Chidi Ajuzie29 Jul
  • Re: MySQL ERROR 1062: Duplicate entry '1' for key 1Victoria Reznichenko29 Jul
  • Re: MySQL ERROR 1062: Duplicate entry '1' for key 1Dan Nelson29 Jul