How to know which rows were skipped after loading data file in MySQL
-
15-10-2022 - |
質問
After executing the following command
LOAD DATA LOCAL INFILE '/path/to/file.csv'
INTO TABLE mydb.tablename FIELDS TERMINATED BY ',';
mysql workbench's output console printed the following:
14935 row(s) affected Records: 14981 Deleted: 0 Skipped: 46
Warnings: 0
The question is, how on earth do I find out which rows were skipped?
正しい解決策はありません
所属していません StackOverflow