Import CSV Data Using LOAD LOCAL

To import data from a CSV file into a MySQL table, select the table in Object Browser and select Table -> Import -> Import CSV Data Using Load Local... or(Ctrl+Shift+M).

Tables: The list of all tables of the currently active database is shown. Select the Table from the list box.

Columns: The list of all Columns of the selected Table is shown. Select the Columns for which the data to be imported from the File (you should be careful to specify the columns else you may get error or wrong result).

Import from Files: Enter the name of the file (or click the … button to get File Selection dialogue box to create/select file) from which the data in CSV format would be imported.

Other options:

Low Priority: The transfer job is carried only when idle resources are available
Concurrent: the transfer job is carried along with other processes (which are not of high priority).
Replace: Replaces the data in target MySQL table of same primary key value.
Ignore: Skips the row of same primary key value in the mySQL target table.
Ignore lines: Starts reading data in the CSV file after skipping specified number of lines from the top in the CSV file. Useful to skip header (or a bunch of records from the top).

Still need help? Contact Us Contact Us