I ran into some trouble using LOAD DATA INFILE command as i wanted to ignore the lines that was already in the data base..say if i have a table with data as follows,
You can create a unique index on multiple columns. LOAD DATA won't insert rows that match existing rows on all of those columns.
e.g. ALTER TABLE tbl_member ADD UNIQUE unique_index(name,age)