http://www.perlmonks.org?node_id=698865


in reply to MySQL syntax error for ON DUPLICATE KEY UPDATE

I would examine what SQL is actually being sent to the server. Check your server logs or see the section on "TRACING" in the DBI documentation.
  • Comment on Re: MySQL syntax error for ON DUPLICATE KEY UPDATE