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

前端 未结 13 1331
感情败类
感情败类 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 10:56

    MySQL for excel plugin can help you.

    http://dev.mysql.com/doc/refman/5.6/en/mysql-for-excel.html

    Open your CSV file in excel. You can use this plugin to export excel data into a new table of remote or local mysql server. It will analyze your data (top 100 to 1000 rows) and create a corresponding table schema.

提交回复
热议问题