How to Import CSV into MySQL: 5 Main Methods

Table of ContentsToggle Table of Content

Summary

  • Command Line Import: Ideal for advanced users seeking performance and control over large-scale imports directly from the server.
  • MySQL Workbench: Offers a user-friendly GUI option for small-to-medium data imports and visual database management.
  • phpMyAdmin: Suited for shared hosting environments, providing a quick and straightforward import process directly through a browser.
  • Python Scripts: Best for developers creating automated pipelines or handling complex data transformations.
  • Skyvia: A no-code platform that automates CSV imports into MySQL, ideal for non-technical users or teams needing scheduled, recurring imports.

Somebody hands you a CSV export and a MySQL database, and the two need to meet before lunch. One LOAD DATA statement is enough to import CSV into MySQL. Don't fancy writing SQL? A wizard will do it in a handful of clicks. Picking between them is mostly about two things: where the file is sitting, and whether you'll be back here next Tuesday doing it again. A one-off customer list on your laptop is a different animal from a supplier feed that lands every night.

So we walk through five of them. First up: LOAD DATA at the mysql prompt, then the Table Data Import Wizard inside MySQL Workbench. phpMyAdmin is next, for browser people. Then a little Python script with pandas, and finally Skyvia, for the import that has to happen every night whether anyone remembers or not. Each gets its own steps, an honest note on where it struggles, and the jobs we'd hand it.

Is your terminal currently showing "The MySQL server is running with the –secure-file-priv option", or maybe "Loading local data is disabled"? Scroll down to the part on MySQL import CSV errors, close to the end. It translates both messages into plain English and shows how to push a file to MySQL straight from your laptop.

How to Import CSV Files to MySQL Tables

Let’s explore the simple and effective ways we can use to import CSV files into MySQL tables.

  1. Command Line Import

Are you comfortable with a tech-focused approach? The command line is a fast and efficient way to import CSV files. With just a few SQL commands, data is ready to be used. It’s ideal for users who enjoy a hands-on experience.

  1. MySQL Workbench

If you prefer a user-friendly interface, MySQL Workbench is a great option. Its simple wizard makes importing CSV files intuitive and straightforward. This method works well for beginners and those who prefer a visual tool over command lines.

  1. phpMyAdmin

phpMyAdmin is a good solution if you’re working through a web browser. The platform’s import feature simplifies uploading CSV files without requiring any coding. Upload the file, map your fields, and let phpMyAdmin handle the rest.

  1. Python Scripts

If automation is your thing, Python is a fantastic tool. Using libraries like Pandas and SQLAlchemy, you can write scripts to import CSV files into MySQL seamlessly. However, this method requires knowledge of Python and technical expertise, so it might be challenging for business users. 

If you’re unfamiliar with Python scripts, selecting a data integration tool to import such files automatically is better.

  1. No-Code Platforms 

Looking for a hassle-free solution? No-code tools like Skyvia make the process effortless and automate MySQL CSV import. Users can integrate data from various systems into their data storage with just a few clicks.

Such platforms cater to both technical experts and business users. For instance, when business users need an ad-hoc report but can’t wait for analysts, they can quickly handle it using these intuitive tools.

Method 1: Importing CSV into MySQL Using Command Line

This approach addresses common challenges like handling large datasets efficiently and avoiding the limitations of GUI tools. It offers precise control over the import process, ensuring faster performance and reduced errors, especially for bulk data operations. 

It also provides a powerful and resource-friendly solution for users seeking a reliable and straightforward way to manage server-side imports without relying on third-party tools. 

Follow these steps for smooth data import.

Step 1: Prepare the CSV File

Ensure your CSV file is structured correctly. You must include column headers that match the column names in the MySQL table. Use consistent delimiters (e.g., commas for separating fields).

Example:

id,name,email
1,John Doe,johndoe@example.com
2,Jane Smith,janesmith@example.com

Save the file with a .csv extension, such as data.csv. Keep this file accessible on the same server as your MySQL instance.

Step 2: Create a MySQL Table

Open your terminal or command prompt and enter the following command:

mysql -u your_username -p

Then, replace your_username with your MySQL username. Enter your password when prompted. Once inside the MySQL command line, choose the database where you want to import the data:

USE your_database_name;

Here, replace your_database_name with the name of your target database. Define the table structure to match the CSV file columns:

CREATE TABLE your_table_name (
    id INT,
    name VARCHAR(100),
    email VARCHAR(100)
);

Replace your_table_name with the desired table name. This table will hold the imported data.

Step 3: Place the CSV File

Ensure the CSV file is saved on the server where MySQL is installed and note the absolute file path (e.g., /path/to/data.csv). You will need this path for the next step.

If the CSV file is located on your local machine, upload it to the server using tools like SCP, SFTP, or any file transfer method supported by your server.

Step 4: Import the CSV File

While still in the MySQL command line, use the LOAD DATA statement to import the CSV file:

LOAD DATA INFILE '/path/to/data.csv'
INTO TABLE your_table_name
FIELDS TERMINATED BY ',' 
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 ROWS;

Enter this SQL command directly into the MySQL prompt.
Explanation of options:

  • FIELDS TERMINATED BY ‘,’: Specifies that fields in the file are separated by commas.
  • ENCLOSED BY ‘”‘: Indicates text fields are wrapped in double quotes (if applicable).
  • LINES TERMINATED BY ‘\n’: Sets the line break format for each row.
  • IGNORE 1 ROWS: Skips the header row in the CSV file.

Note: Ensure the MySQL user has sufficient privileges to access the file location.

Step 5: Verify the Data

After the import, run a query to confirm that the data has been correctly loaded into the table:

SELECT * FROM your_table_name LIMIT 10;

Here, replace your_table_name with the name of your table. This command will display the first 10 rows, allowing you to quickly verify that the data matches the CSV file. Double-check the table structure, CSV formatting, and the LOAD DATA statement if the data is incorrect or incomplete.

command prompt

Limitations 

While the command-line method is powerful and efficient, it requires users to understand SQL syntax and server permissions, which can be challenging for non-technical users.

Additionally, it lacks a user-friendly interface, making it less suitable for those who prefer GUI-based or automated solutions for managing data imports.

Best For

This method is ideal for businesses managing large-scale imports, such as migrating bulk records or performing regular updates on extensive datasets.

It’s particularly well-suited for scenarios requiring precise control over the process, such as handling complex structures or automating server-side operations.

Bypassing GUI limitations offers a fast, resource-efficient solution for technical users working with high-volume or frequent transfers. 

Method 2: Importing CSV into MySQL Using Workbench

This method addresses the need for a user-friendly, GUI-based approach to data imports. It simplifies the process for users who prefer visual tools, making it easier to map columns and validate data before importing.

It fits small- to medium-sized datasets and is for those looking for a straightforward way to manage imports without writing SQL commands.

Let’s set it up, create a target table, and import CSV data.

Step 1: Install MySQL Workbench

Before starting, download the Community Edition and open it. Then, navigate to Database> Manage Connections from the top menu.

MySQL Workbench

Create a new connection by providing the following details:

  • Connection Name: Any name you prefer.
  • Hostname: Your server’s IP address or hostname.
  • Port: Use the default port 3306 unless configured otherwise.
  • Username and Password: Credentials for accessing the Database.

Afterward, go to the Advanced tab in the connection settings and add OPT_LOCAL_INFILE=1 in the Others text input field. This step ensures Workbench can upload data from local files.

Click Test Connection to verify it. If successful, save the connection settings by clicking OK.

Step 2: Create a Table in MySQL Workbench

Prepare Your CSV File.

Date,Band,ConcertName,Country,City,Location,LocationAddress,
2023-05-28,Ozzy Osbourne,No More Tours 2 - Special Guest: Judas Priest,Germany,Berlin,Mercedes-Benz Arena Berlin,"Mercedes-Platz 1, 10243 Berlin-Friedrichshain",
2023-05-08,Elton John,Farewell Yellow Brick Road Tour 2023,Germany,Berlin,Mercedes-Benz Arena Berlin,"Mercedes-Platz 1, 10243 Berlin-Friedrichshain",
2023-05-26,Hans Zimmer Live,Europe Tour 2023,Germany,Berlin,Mercedes-Benz Arena Berlin,"Mercedes-Platz 1, 10243 Berlin-Friedrichshain",
2023-07-07,Depeche Mode,Memento Mori World Tour 2023,Germany,Berlin,Olympiastadion Berlin,"Olympischer Platz 3, 14053 Berlin-Charlottenburg",

In the main dashboard, click on the + icon next to MySQL Connections to create a new connection to your database in Workbench. A dialog box, Setup New Connection will appear.

Enter:

  • The connection name (e.g., “MyDatabaseConnection”), 
  • The IP address or hostname of your database server (e.g., localhost or 127.0.0.1 for a local server)
  • The default port for MySQL is 3306. Leave it as is unless your database uses a different port.
  • The username you use to log in to your database (e.g., root).

Click the Store in Vault… button to securely save your password, or leave it blank to enter the password manually each time you connect.

Then, ​​click the Test Connection button to verify it. If successful, you’ll see the confirmation pop-up. If not, review the entered details for accuracy and ensure your database server is running. 

Click OK to save the details. Your new connection will now appear on the main dashboard.

Select your database schema in the Schemas panel, right-click on Tables, and choose Create Table.

MySQL Workbench

Name the table (e.g., concerts) and define columns to match the CSV file:

  • Date: DATE
  • Band: VARCHAR(100)
  • ConcertName: VARCHAR(200)
  • Country: VARCHAR(100)
  • City: VARCHAR(100)
  • Location: VARCHAR(200)
  • LocationAddress: VARCHAR(255)

When finished, click Apply to save the table.

SQL script

Step 3: Import the CSV File

Right-click on the target table (e.g., concerts) and choose Table Data Import Wizard. Then, select the CSV file to import and click Next.

Here, you must ensure each column in the CSV file maps correctly to a corresponding table column. Adjust the mappings if necessary and proceed by clicking Next.

table data import

Review the settings and click Start Import. You may monitor the progress in the wizard window. If successful, a confirmation message will appear. In case of errors, review the log messages for explanations.

Step 4: Verify the Import

When the Import Wizard is closed, right-click on the table in the Schemas panel and choose Select Rows.

import wizard

Confirm that the data matches your CSV file, and voila, success. The data is now imported into MySQL and ready for use.

Limitations 

Despite being user-friendly, this method may struggle to handle large datasets efficiently, making it less suitable for bulk imports. Additionally, it requires manual intervention for each import, which can be time-consuming and impractical for recurring or automated data workflows.

Best For

Such a method is a good choice for businesses that need a user-friendly, GUI-based solution for managing small to medium-sized datasets.

It especially fits for non-technical users or teams working on ad-hoc data imports, like uploading customer lists, product inventories, or transactional records.

This method provides a straightforward interface with minimal setup, making it suitable for occasional imports or scenarios where simplicity and ease of use are priorities. 

Method 3: Importing CSV Using phpMyAdmin

This approach provides a web-based solution for managing database imports. It benefits users working in shared hosting environments or without direct access to command-line tools.

This method is perfect for quick, ad-hoc imports, offering an accessible interface for uploading and mapping data. 

Follow these steps to import data effortlessly.

Step 1: Prepare the CSV File

Before starting, ensure that each column in the CSV file matches the structure of the target table in the database.

Use consistent delimiters (e.g., commas) to separate values. Include a header row if required (e.g., id, name, email). Save the file with a .csv extension, for example, data.csv.

Example:

id,name,email
1,John Doe,john.doe@example.com
2,Jane Smith,jane.smith@example.com
3,David Johnson,david.johnson@example.com

Step 2: Access phpMyAdmin

Open your web browser and navigate to the phpMyAdmin login page. This is usually located at http://yourdomain.com/phpmyadmin or http://localhost/phpmyadmin for local installations. Enter your username and password, then click Go to log in.

Step 3: Select the Database

  1. In the left-hand menu, click on the Database you want to import the CSV file.
  2. If you need to create a new table, follow the steps in Step 4.

Step 4: Create a Table (if not already created)

If the table you want to import data into already exists, click on the SQL tab in phpMyAdmin and run a CREATE TABLE statement to create it.

Example:

CREATE TABLE your_table_name (
    id INT,
    name VARCHAR(100),
    email VARCHAR(100)
);

Click Save to create the table.

Step 5: Import the CSV File

In the phpMyAdmin interface, click on the Import tab in the top menu. After that, under the File to Import section, click the Browse button and select your CSV file from your computer.

The next step is to configure the import options:

  • Format: Select CSV from the dropdown menu.
  • Fields terminated by: Enter , if commas separate the fields in your CSV file.
  • Fields enclosed by: Enter ” if text values are enclosed in double-quotes.
  • Lines terminated by: Keep the default \n for line breaks.
  • Column names: If your CSV file has a header row, tick the option to ignore the first line.

After finishing, click Go to start the import.

format-specific options

Step 6: Verify the Import

Once the import is complete, phpMyAdmin will display a success message indicating the number of rows imported.

To verify, go to the Browse tab of the target table and review the imported records.

If the import failed or the data appears incorrect:

  • Double-check the CSV structure and import settings.
  • Correct any issues and repeat the process.
data importing

Step 7: Troubleshooting (if needed)

If you encounter errors, phpMyAdmin will provide a log with details.

Common issues and fixes:

  • Ensure the table columns match the CSV file structure.
  • Ensure your CSV file uses UTF-8 encoding.

Limitations 

The solution may not handle large datasets effectively, often timing out during bulk imports. Additionally, its web-based interface can be less secure for sensitive data and lacks advanced automation features, making it unsuitable for recurring or complex import tasks.

Best For

Importing CSV files using phpMyAdmin is an excellent choice for small to medium-sized data imports where a simple, GUI-based approach is preferred.

It’s okay for businesses or teams without extensive technical expertise, such as managing customer records, uploading product catalogs, or updating inventory data.

This method works well for ad-hoc imports and is particularly useful for users who want a straightforward solution without relying on command-line tools or additional software. 

Method 4: Importing CSV to MySQL Using Python

This method is perfect for users looking to automate repetitive imports, transform data during the process, or integrate imports into larger workflows. Python’s powerful libraries (pandas and mysql.connector) give developers precise control over how data is read, cleaned, and inserted into MySQL databases.

This guide explains using Python with the pymysql and pandas libraries to handle CSV-to-MySQL imports.

Step 1: Prepare Your Environment

Download Python from python.org and install the mysql-connector-python and pandas libraries using pip:

pip install mysql-connector-python pandas

  • mysql-connector-python: A Python library to connect to MySQL databases.
  • pandas: A library for data manipulation and handling CSV files.

Step 2: Prepare Your CSV File

Your CSV file should have headers that match the MySQL table column names. Save it as a .csv file, for example, data.csv.

Example:

id,name,email
1,John Doe,john.doe@example.com
2,Jane Smith,jane.smith@example.com
3,David Johnson,david.johnson@example.com

Step 3: Create a MySQL Table

 Open MySQL and log in with your credentials.

mysql -u your_username -p

Use the database where you want to import the data.

USE your_database_name;

Ensure the table matches the CSV structure.

CREATE TABLE your_table_name (
    id INT,
    name VARCHAR(100),
    email VARCHAR(100)
);

Step 4: Write the Python Script

Open your preferred text editor or IDE and create a new Python script file (e.g., import_csv.py). Copy and paste the following code:

import mysql.connector
import pandas as pd

# Database connection
connection = mysql.connector.connect(
    host='localhost',         # Replace with your host
    user='your_username',     # Replace with your MySQL username
    password='your_password', # Replace with your MySQL password
    database='your_database'  # Replace with your database name
)

cursor = connection.cursor()

# Load the CSV file into a pandas DataFrame
csv_file = 'data.csv'  # Replace with the path to your CSV file
data = pd.read_csv(csv_file)

# Iterate through the DataFrame and insert records into the MySQL table
for index, row in data.iterrows():
    cursor.execute(
        "INSERT INTO your_table_name (id, name, email) VALUES (%s, %s, %s)",
        (row['id'], row['name'], row['email'])
    )

# Commit the transaction
connection.commit()

print("Data imported successfully!")

# Close the connection
cursor.close()
connection.close()

Then, replace your_username, your_password, your_database, and your_table_name with your database credentials and table details.

Step 5: Run the Script

In this step, you need to save the Python script file, open a terminal or command prompt, navigate to the folder containing your script, and run it:

python import_csv.py

Step 6: Verify the Import

Log in to your MySQL database and verify the imported data by running a query:

SELECT * FROM your_table_name LIMIT 10;

Check that the records from your CSV file are correctly loaded into the table.

Limitations 

Using Python to import CSV files requires programming knowledge, which can be a barrier for non-technical users.

Setting up and maintaining scripts for imports can be time-consuming and prone to errors, especially for those unfamiliar with Python or database operations.

Best For

Importing CSV files into MySQL using Python fits businesses that require automation, scalability, and flexibility in their workflows.

This method works well for technical users with large volumes, recurring imports, or intricate transformations. It allows seamless integration into broader pipelines, perfect for use cases like automated reporting, real-time processing, or syncing information across platforms. 

Method 5: Importing CSV into MySQL Automatically Using Skyvia

Importing CSV files into MySQL automatically using data integration platforms like Skyvia solves the pain points of managing recurring data imports without technical expertise. It provides an import CSV to MySQL without coding for users who want to:

  • Automate the process.
  • Eliminate manual work.
  • Ensure consistent, error-free imports.

With its intuitive interface and cloud-based platform, Skyvia simplifies handling large datasets and integrates seamlessly with cloud storage services like Google Drive or Dropbox.

Using Skyvia, you can automatically import CSV files into MySQL with minimal setup. Follow these steps to complete the process.

Step 1: Sign Up and Log In to Skyvia

The first step is to visit the Skyvia website and sign up for a free account if you don’t have one. Then, log in to your account to access the dashboard.

Step 2: Create a New Integration Task

From the dashboard, click on Integration, select + Create New, and choose the Import option to set up a data import process.

Skyvia interface

Step 3: Connect to the MySQL Database

Click New Connection, select MySQL from the available options as a target, and enter the required credentials here.

MySQL connection by Skyvia

Next, click Create Connection, test it, and save. Then, return to the import setup screen and select the MySQL connection you created.

Step 4: Prepare the CSV File

In this step, you must ensure the CSV file has a header row with column names matching the MySQL table structure.

Store the CSV file in a location that is accessible for uploading or connecting to a cloud storage service like Google Drive or Dropbox.

Example CSV file preview:

id,name,email,phone
1,John Doe,john.doe@example.com,1234567890
2,Jane Smith,jane.smith@example.com,9876543210
3,David Johnson,david.johnson@example.com,5678901234
4,Lisa Brown,lisa.brown@example.com,4561237890

Step 5: Create a New Import Package

Here, click on Integration → +Create New → Import from the dashboard. Select the CSV file as the source. Upload the file or link to a cloud storage account. 

Finally, preview and confirm the file structure.

CSV data loading by Skyvia

The following action is to select the MySQL connection created earlier and specify the target table where the data will be imported.

Step 6: Configure Import Settings

Now, select import mode:

  • Insert: Adds new rows.
  • Update: Updates existing rows based on a matching key.
  • Upsert: Combines insert and update.

Enable options like error logging and duplicate record handling if needed.

Step 7: Automate the Import 

To schedule CSV import to MySQL, navigate to the Schedule tab during package setup. Set a frequency (daily, weekly, monthly, or custom intervals) and specify the time and timezone. After that, enable the schedule and save.  

Limitations

Skyvia is highly user-friendly and requires no coding, but it relies on a stable internet connection since it’s a cloud-based platform.

Additionally, it may not offer the same granular control or customization level as scripting solutions like Python for highly specific or complex import scenarios.

Best For

Importing CSV into MySQL automatically using Skyvia is a fine choice for businesses that value automation, ease of use, and cloud-based solutions.

This method is perfect for non-technical users or teams that need to schedule recurring imports, synchronize data from cloud storage services, or handle integrations between platforms without manual intervention.

Skyvia’s no-code interface and powerful automation features make it an excellent choice for streamlining operations like customer data updates, inventory management, or regular reporting. 

MySQL Import CSV Errors, and How We'd Fix Each One

When an import fails, MySQL at least tells you why, even if the wording takes a second read. The top two rows below come from LOAD DATA and from how MySQL 8 ships by default, so they're the ones you'll probably meet first.

Message or symptomWhat it meansFix
ERROR 1290 (HY000): The MySQL server is running with the –secure-file-priv option so it cannot execute this statementThe server only reads files from the directory set in secure_file_priv (on DEB and RPM installs the default is /var/lib/mysql-files)Run SHOW VARIABLES LIKE 'secure_file_priv'; and move the file into that directory, or load it from your machine with LOCAL
ERROR 3948 (42000): Loading local data is disabled; this must be enabled on both the client and server sidesLOAD DATA LOCAL is off on the server, the client or both. The server's local_infile variable is OFF by defaultAn admin runs SET GLOBAL local_infile = 1; and you connect with mysql –local-infile=1 -u your_username -p
Access denied, the FILE privilege is missingLOAD DATA INFILE without LOCAL needs the FILE privilegeAsk for FILE, or switch to LOCAL, which doesn't need it
Every row ends with a stray character, or the last column won't matchThe file came from Windows and uses \r\n line endingsUse LINES TERMINATED BY '\r\n'
Accented names turn into junkThe file's character set differs from the database defaultAdd CHARACTER SET utf8mb4 to LOAD DATA, or set Encoding in the Workbench wizard to match the file

Once local loading is on at both ends, a typical import from your Downloads folder looks like this:

LOAD DATA LOCAL INFILE '/Users/you/Downloads/customers.csv'
INTO TABLE customers
CHARACTER SET utf8mb4
FIELDS TERMINATED BY ',' ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 LINES;

There's a catch with LOCAL that bites people later. Leave LOCAL off and LOAD DATA gives up at the first duplicate key, ignoring whatever is left in the file. Annoying? Sure. Easy to miss? Not at all. LOCAL flips that. It makes MySQL act as though you typed IGNORE: duplicates get dropped, odd values get squeezed to fit, a warning goes in the log, and the load just keeps rolling. That's how an import with no error on screen can quietly leave rows behind. So type SHOW WARNINGS; the moment the load ends.

What about a file that shows up every morning? We'd point you to mysqlimport. It comes with MySQL and is basically LOAD DATA wearing a command-line coat, which is why a shell script can call it so easily. No table name needed, either: customers.csv goes into customers. Its –local and –ignore-lines=1 options do the same work as LOCAL and IGNORE 1 LINES above. Now picture that morning file landing in cloud storage or an SFTP folder instead, somewhere you don't run a server. In that case a scheduled Skyvia import to MySQL can go and get it, and you skip the scripting part.

Summary

We can import CSV files into MySQL tables through various methods, each tailored to different expertise levels, use cases, and business requirements.

Whether companies prefer command-line efficiency, GUI-based tools, or code-driven approaches, there’s a solution for everyone:

  • Command Line Import is ideal for advanced users looking for performance, precision, and control over large-scale imports directly from the server.
  • MySQL Workbench offers a user-friendly GUI option for small-to-medium data imports and visual database management.
  • phpMyAdmin fits for shared hosting environments for quick and straightforward imports directly through a browser.
  • Python Scripts are best for developers creating automated pipelines or handling complex data transformations.
  • No-Code platforms like Skyvia are perfect for non-technical users, offering a secure, scalable, and automated solution for seamless data integration without writing code.

Choosing the proper method depends on your technical expertise, project scale, and need for automation. With the proper approach, importing CSV files into MySQL becomes a streamlined process, enabling teams to manage data efficiently and smoothly.

FAQ for CSV File into MySQL

Loader image

MySQL error 1290, the secure-file-priv one, means the server may only read import files from a single folder, and your CSV isn't there. Which folder? SHOW VARIABLES LIKE 'secure_file_priv'; prints it, and dropping the CSV in there is normally enough. No way to put files on that machine? Load from your end with LOAD DATA LOCAL INFILE instead.

That's MySQL error 3948. MySQL 8 keeps local loading off out of the box, on the server through the local_infile variable and, in most builds, in the client as well. So the fix has two halves. An admin flips the server side with SET GLOBAL local_infile = 1. You flip your side by starting the mysql client with --local-infile=1. Do only one of those and the error doesn't budge.

For big files we'd skip the wizards and go with LOAD DATA from the mysql command line, since it takes the whole file in a single statement. The Python script from earlier, on the other hand, inserts rows one by one. Once it's done, run SHOW WARNINGS; to see if MySQL skipped anything. A truly big file is worth splitting first, too: when one piece fails, you rerun that piece and not the whole lot.

It does, and the starting point in MySQL Workbench is the table you're filling. Right-click it in the Navigator, pick the Table Data Import Wizard and choose your file. The wizard then lays out the destination table, the column mapping and the file encoding so you can check them. Take a second look at the encoding, since accented names are often the first to break, and then click Start Import. A remote server works just like a local one.

Yes. Running your own server? Then a cron job on Linux, or Task Scheduler on Windows, can kick off mysqlimport (or the mysql client running a LOAD DATA statement) at any time you choose. Without your own server or script, Skyvia can run the CSV import into MySQL on a schedule and fetch the file from cloud storage or SFTP. On Skyvia, schedules run once a day on Free and Basic, hourly on Standard and every minute on Professional.

Share

Nata Kuznetsova

Nata Kuznetsova is a seasoned writer with nearly two decades of experience in technical documentation and user support. With a strong background in IT, she offers valuable insights into data integration, backup solutions, software, and technology trends.

One platform for all your data work

One platform for all your data work

Integration, automation, live data access, and backup. No code, 200+ connectors.

Start free