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 '\r\n';

 

*.text

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

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

posted on 2016-12-20 19:46  adolfmc  阅读(925)  评论(0编辑  收藏  举报