string(117) "INSERT INTO search (search,ip) VALUES ('150722_977_01','585858884') ON DUPLICATE KEY UPDATE created=CURRENT_TIMESTAMP" Invalid query: Duplicate entry '397232' for key 'PRIMARY'