I am copying records from one table to another and there is a chance that some records may already be in the second table i am copying the records to.
Since there are lo
Try this:
zcat db.sql.gz | sed -e 's/INSERT/INSERT IGNORE/' | mysql -u user -p dbname