Duplicate entry '2' for key 1

2010-11-09 Thread Ilham Firdaus

Dear friends.

Anybody would be so nice to explain about meaning of this error message:

Duplicate entry '2' for key 1
:.
It comes if we visit this: 
http://www.otekno.biz/kn/code/functions.php?task=sync


Thank you very much in advance.

--
Enjoy our free facilities: http://www.otekno.biz


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org



Re: Duplicate entry '2' for key 1

2010-11-09 Thread Michael Dykman
Ilham,

It means what it says.You are attempting to insert into a table
that has a primary or other unique key and that data which you are
trying to insert already has that unique value.  To diagnose, it would
be helpful to know the circumstance under which you got this error
message.

 - michael dykman


On Tue, Nov 9, 2010 at 3:36 PM, Ilham Firdaus il...@otekno.biz wrote:
 Dear friends.

 Anybody would be so nice to explain about meaning of this error message:
 
 Duplicate entry '2' for key 1
 :.
 It comes if we visit this:
 http://www.otekno.biz/kn/code/functions.php?task=sync

 Thank you very much in advance.

 --
 Enjoy our free facilities: http://www.otekno.biz


 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:    http://lists.mysql.com/mysql?unsub=mdyk...@gmail.com





-- 
 - michael dykman
 - mdyk...@gmail.com

 May the Source be with you.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org