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

前端 未结 13 1358
感情败类
感情败类 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:04

    I'm recommended use MySQL Workbench where is import data. Workbench allows the user to create a new table from a file in CSV or JSON format. It handles table schema and data import in just a few clicks through the wizard.

    In MySQL Workbench, use the context menu on table list and click Table Data Import Wizard.

    MySQL Workbench image

    More from the MySQL Workbench 6.5.1 Table Data Export and Import Wizard documentation. Download MySQL Workbench here.

提交回复
热议问题