string(113) "INSERT INTO search (search,ip) VALUES ('HODV-20540','55630389') ON DUPLICATE KEY UPDATE created=CURRENT_TIMESTAMP" Invalid query: Duplicate entry '397232' for key 'PRIMARY'