# 直接在命令行输入
mysql -u root -p --local-infile
set global local_infile=1;
LOAD DATA LOCAL INFILE 'D:\\launages\\learn mysql\\learn_sql\\data\\tb_sku1.sql' INTO TABLE tb_sku FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' ;
# 直接在命令行输入
mysql -u root -p --local-infile
set global local_infile=1;
LOAD DATA LOCAL INFILE 'D:\\launages\\learn mysql\\learn_sql\\data\\tb_sku1.sql' INTO TABLE tb_sku FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' ;