Create mysql table directly from CSV file using the CSV Storage engine?

前端 未结 13 1226
感情败类
感情败类 2020-12-04 10:08

I just learned that MySQL has a native CSV storage engine which stores data in a Comma-Separated-Value file per table.

Is it possible to create a table directly from

13条回答
  •  有刺的猬
    2020-12-04 11:10

    This is not possible, you can however overwrite an existing table file. But be sure, that the line endings in your file are unix style (ending only with \n), not windows style (ending with \r\n), whether you are working under windows or not.

提交回复
热议问题