Withdata Software

How to Import CSV to Mysql via Command Line

Want to import data from CSV file to MySQL ?

Using FileToDB, a native GUI tool, you can import data from CSV file to MySQL (MariaDB, Percona) easily and fast, no need to program, just a few mouse clicks!

Support Windows, Linux, macOS.

Support large CSV files (big than 4GB).

Support multiple CSV file encodings: ANSI, UTF-8, UTF-8BOM, UCS-2LE (Unicode Little Endian), UCS-2BE (Unicode Big Endian), CP1250 (Central European), CP1251 (Cyrillic), CP1252 (Western European), CP1253 (Greek), CP1254 (Turkish ), CP1255 (Hebrew), CP1256 (Arabic), CP1257 (Baltic), CP1258 (Vietnamese), CP437 (United States), CP850 (Western European), CP852 (Central European), CP866 (Cyrillic), CP874 (Thai), CP932 (Japanese), CP936 (Chinese Simplified), CP949 (Korean), CP950 (Chinese Traditional), ISO-8859-1 (Western European), ISO-8859-2 (Central European), ISO-8859-15 (Latin 9), KOI-8 (Cyrillic), Macintosh (Western European).

Here you can download and install FileToDB.

Import data from CSV file to MySQL (MariaDB, Percona)

Choose MySQL and logon.

Click “Wizard – 1 File To 1 Table” at task dialog.

Select the “CSV” file type.

then show the wizard.

1. Open a CSV file.

2. Select a MySQL table and config fields.

3. Preview data.

4. Import.

View imported data

You can schedule and automate this converting task by:

1) Save session and create .bat file.

2) Set scheduled task.


More about FileToDB – the tool to import data from CSV file to MySQL (MariaDB, Percona)

30-day free trial