I\'m using MySQL workbench to import a Joomla sample_data.sql file into my local database. I want it to continue importing, even if an error occurs, by skipping the line th
You could also use INSERT IGNORE
INSERT IGNORE
INSERT IGNORE INTO mytable (primaryKey, field1, field2) VALUES ('1', 1, 2), ('1', 3, 4), //will not be inserted ('2', 5, 6); //will be inserted