MySQL导入语法:
LOAD DATA INFILE '文件地址' INTO TABLE 表名 FIELDS TERMINATED BY '字段切割符 ' LINES TERMINATED BY '行切割符' (字段1,字段2,....如果不填则按字段顺序导入)
格式化输出:
后面加Select * from tb_name\G;
参考:http://blog.csdn.net/liuhaixian/article/details/3856113
参考2:http://blog.csdn.net/piaolankeke/article/details/6272214