MySQL Forums
Forum List  »  Docs

Error Message for DUP_KEY
Posted by: thorsten heymann
Date: September 06, 2010 03:37AM

I have a problem with documentation of the error message behaviour.
The error message for ER_DUP_ENTRY is described as follows:

Message: Duplicate entry '%s' for key %d.

I have the problem that on one machine the message looks for example like:

"Duplicate entry 'jon' for key 2."

and on the orher machine:

"Duplicate entry 'jon' for key first_name."

How can I control this? Is this a version issue?

Options: ReplyQuote

Written By
Error Message for DUP_KEY
September 06, 2010 03:37AM
November 22, 2010 09:08PM
December 16, 2010 12:41AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.