mysql load data 指定编码

LOAD DATA INFILE 'E://temp//data.txt' IGNORE
INTO TABLE cell_definition_test
CHARACTER SET gbk
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n' (cgi,msc_id,title,shape_type,lon,lat,radius,angle)

posted @ 2011-09-28 16:07  Alex~  阅读(982)  评论(0编辑  收藏  举报