How to load data from PrestaShop to TiDB
Learn how to use Airbyte to synchronize your PrestaShop data into TiDB 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
Before starting the migration process, familiarize yourself with the database structure of both PrestaShop and TiDB. PrestaShop typically uses a MySQL database, so examine the tables and fields relevant for your data migration. This will help you map the data correctly to the TiDB schema.
Utilize MySQL command-line tools or phpMyAdmin to export the data you need from PrestaShop. You can execute SQL queries to select specific tables or data subsets, then export this data to a CSV or SQL file. For example, use `mysqldump` to export the entire database or specific tables.
Set up your TiDB environment if it is not already operational. Ensure that TiDB is installed and running, and that you have created a database and user with the necessary permissions to import data.
If your data is in CSV format, verify that the data types and formats are compatible with TiDB. This might involve modifying CSV files to match TiDB's expected input format. For example, adjust date formats or ensure numeric fields are correctly represented.
Based on the schema understanding from step 1, create equivalent tables in TiDB to match those from PrestaShop. Use the `CREATE TABLE` SQL command to define the structure of each table, ensuring that data types are correctly mapped.
Use TiDB's `LOAD DATA` command or `TiDB Lightning` for bulk data import. If your data is in SQL format, use the `mysql` command-line tool to import directly. For CSV files, execute `LOAD DATA LOCAL INFILE` to load the data into the respective tables in TiDB. Ensure you handle any errors that arise during the data loading process.
After the data has been loaded into TiDB, perform checks to ensure the integrity and accuracy of the data. Compare row counts and run sample queries to verify that the data in TiDB matches what was in the PrestaShop database. Check for any discrepancies and resolve them before putting the system into production.
These steps will guide you through a manual process of migrating your data from PrestaShop to TiDB without relying on third-party connectors or integrations.