INSERT IGNORE INTO www_upi_com.searches SET `hostip` = '3.238.132.225', `agent` = 'CCBot/2.0 (https://commoncrawl.org/faq/)', `ss` = 'Scrap Metal', `type` = 'articles', `uri` = '[\"\\/search?ss=Scrap%20Metal&sort=rel\"]', `cnt` = 1, `lu` = UNIX_TIMESTAMP(), `added` = UNIX_TIMESTAMP() ON DUPLICATE KEY UPDATE `uri` = uri,',','[\"\\/search?ss=Scrap%20Metal&sort=rel\"]'), `lu` = UNIX_TIMESTAMP(), `cnt` = `cnt` + 1 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '',','[\"\\/search?ss=Scrap%20Metal&sort=rel\"]'), `lu` = UNIX_TIMESTAMP(), ' at line 10