Duplicate entry error message format

Recount

New Member
I have a problem with mysql duplicate error messages. On one of my machines the error looks like:\[quote\] Duplicate entry 'foobar' for key 2\[/quote\]on the other machine it looks like:\[quote\] Duplicate entry 'foobar' for name\[/quote\]
  • One machine prints the key index, the other the key name.
  • One machine is an Ubuntu 10.04 Desktop; the other a Debian Lenny Server
  • MySQL Versions:
Ubuntu:Server version: 5.1.41-3ubuntu12.6Protocol version: 10Debian:Server version: 5.0.51a-24+lenny1-logProtocol version: 10Should this be really a version issue?Any suggestions how I can control this?
 
Back
Top