mysql 导入text 到数据库

load data local infile 'f:/PhoneLocation_201601.327665.txt' into table sys_t_phone_area
fields terminated by ',' enclosed by '"'
lines terminated by ' ';

*.text

--------------------------------

327626,"1899960","新疆","库尔勒","中国电信","0996","841000"
327627,"1899961","新疆","库尔勒","中国电信","0996","841000"

原文地址:https://www.cnblogs.com/adolfmc/p/6204076.html