table:

txt文件:D:/data.txt (txt文件下载)
txt中使用 '\N' 描述null值。
导入数据:
load data local infile 'D:/data.txt' into table pet
lines terminated by '\r\n' ignore 1 lines;
应用mysql版本:
超轻量级php框架startmvc
txt中使用 '\N' 描述null值。
导入数据:
load data local infile 'D:/data.txt' into table pet
lines terminated by '\r\n' ignore 1 lines;
应用mysql版本: