How to load data from MySQL to Convex
Learn how to use Airbyte to synchronize your MySQL data into Convex within minutes.


Building your pipeline or Using Airbyte
Airbyte is the only open source solution empowering data teams to meet all their growing custom business demands in the new AI era.
- Inconsistent and inaccurate data
- Laborious and expensive
- Brittle and inflexible
- Reliable and accurate
- Extensible and scalable for all your needs
- Deployed and governed your way
Start syncing with Airbyte in 3 easy steps within 10 minutes



Take a virtual tour
Demo video of Airbyte Cloud
Demo video of AI Connector Builder
Setup Complexities simplified!
Simple & Easy to use Interface
Airbyte is built to get out of your way. Our clean, modern interface walks you through setup, so you can go from zero to sync in minutes—without deep technical expertise.
Guided Tour: Assisting you in building connections
Whether you’re setting up your first connection or managing complex syncs, Airbyte’s UI and documentation help you move with confidence. No guesswork. Just clarity.
Airbyte AI Assistant that will act as your sidekick in building your data pipelines in Minutes
Airbyte’s built-in assistant helps you choose sources, set destinations, and configure syncs quickly. It’s like having a data engineer on call—without the overhead.
What sets Airbyte Apart
Modern GenAI Workflows
Move Large Volumes, Fast
An Extensible Open-Source Standard
Full Control & Security
Fully Featured & Integrated
Enterprise Support with SLAs
What our users say

Raman Singh
Predictable, straightforward pricing model that simplified budgeting and significantly reduced overall spend

Chase Zieman

“Airbyte helped us accelerate our progress by years, compared to our competitors. We don’t need to worry about connectors and focus on creating value for our users instead of building infrastructure. That’s priceless. The time and energy saved allows us to disrupt and grow faster.”

Rupak Patel
"With Airbyte, we could just push a few buttons, allow API access, and bring all the data into Google BigQuery. By blending all the different marketing data sources, we can gain valuable insights."
How to Sync to Manually
Begin by ensuring your MySQL environment is correctly set up. This involves installing the MySQL server if it's not already installed and verifying that you have access to the database you intend to export. You may need the database name, user credentials, and host information.
Use the `mysqldump` command-line utility to export the data from your MySQL database into a file. This utility generates a SQL dump file containing the SQL statements needed to recreate the database. For example:
```bash
mysqldump -u username -p database_name > data_dump.sql
```
Replace `username` and `database_name` with your MySQL username and the specific database you want to export. You will be prompted to enter your password.
Since Convex generally works with JSON-like data structures, you'll need to convert the SQL dump file into JSON. You can write a custom script in a language like Python to parse the SQL dump and output JSON data. This script must interpret the SQL insert statements and structure them as JSON objects.
Set up your Convex environment. If you haven't already, sign up for Convex and set up a new project. Familiarize yourself with the Convex CLI and ensure your local environment can interact with Convex by installing the necessary tools and SDKs.
Write a script that reads the JSON data generated in step 3 and uses the Convex client SDK to import this data into Convex storage. This involves creating documents or collections in Convex that reflect the structure of your original MySQL tables.
After importing, verify that the data in Convex matches what was in MySQL. You can do this by querying the Convex storage and comparing the results with the original MySQL data. This step ensures no data loss or corruption occurred during the transformation and import process.
If you plan to regularly move data from MySQL to Convex, consider automating the export, conversion, and import process. Use shell scripts or a task runner to call the necessary commands and script functions, allowing for easy execution in the future.
This guide provides a straightforward approach to manually moving data from MySQL to Convex, focusing on using available tools and custom scripting without relying on third-party connectors.