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