我正在尝试使用Load Data语句还原数据。这是我正在使用的句子。
LOAD DATA INFILE file.csv REPLACE INTO TABLE table_name CHARACTER SET UTF8 FIELDS TERMINATED BY ',' ENCLOSED BY '"' ESCAPED BY '' LINES TERMINATED BY '\n' IGNORE 1 LINES ESCAPED BY '' LINES TERMINATED BY '\n' IGNORE 1 LINES
除最后一行外,所有行均已插入。文件文件的最后一行没有稀有字符。