MYSQL: Display Skipped records after LOAD DATA INFILE?

Posted by Nate Murray on Stack Overflow See other posts from Stack Overflow or by Nate Murray
Published on 2010-04-30T17:29:07Z Indexed on 2010/06/09 0:32 UTC
Read the original article Hit count: 760

Filed under:
|
|

In MySQL I've used LOAD DATA LOCAL INFILE which works fine. At the end I get a message like:

Records: 460377  Deleted: 0  Skipped: 145280  Warnings: 0

How can I view the line number of the records that were skipped? SHOW warnings doesn't work:

mysql> show warnings;
Empty set (0.00 sec)

© Stack Overflow or respective owner

Related posts about sql

Related posts about mysql