CSV文件导入导mysql数据库

1.导入

    基本语法:

  


 1 基本语法:
 2 
 3 load data [low_priority] [local] infile file_name txt [replace | ignore]
 4 into table tbl_name
 5 [character set gbk]
 6 [fields
 7 [terminated byt]
 8 [OPTIONALLY] enclosed by ‘‘]
 9 [escaped by\‘ ]]
10 [lines terminated byn]
11 [ignore number lines]
12 [(col_name, )]

View Code