Loading utf-8 encoded text into MySQL table

后端 未结 5 705
小蘑菇
小蘑菇 2020-11-29 06:37

I have a large CSV file that I am going to load it into a MySQL table. However, these data are encoded into utf-8 format, because they include some non-english characters. I

5条回答
  •  遥遥无期
    2020-11-29 06:55

    as said in http://dev.mysql.com/doc/refman/5.1/en/load-data.html, you can specify the charset used by your CSV file with the "CHARACTER SET" optional parameter of LOAD DATA LOCAL INFILE

提交回复
热议问题