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

前端 未结 13 1324
感情败类
感情败类 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条回答
  •  萌比男神i
    2020-12-04 10:53

    you can use this bash script

    convert.sh

    and run

    ./convert.sh -f example/mycsvfile.csv
    

提交回复
热议问题