Duplicate entry "2" for key 1

Duplicate entry "2" for key 1

am 09.11.2010 21:36:22 von 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=gcdmg-mysql-2@m.gmane.org

Re: Duplicate entry "2" for key 1

am 09.11.2010 23:01:04 von 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 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=3Dsync
>
> 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: =A0 =A0http://lists.mysql.com/mysql?unsub=3Dmdykman@gmail=
..com
>
>



--=20
=A0- michael dykman
=A0- mdykman@gmail.com

=A0May 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=3Dgcdmg-mysql-2@m.gmane.o rg