GenerateRealData logoGenerateRealData
Home › MySQL & MariaDB test data generator
MySQL & MariaDB test data generator

MySQL & MariaDB data, ready in one command.

Turn your MySQL or MariaDB schema into a realistic, fully related dataset. Download one .sql file and load it with a single mysql command.

Free trial for every new account. No credit card.

online_store_mysql.sql
-- ============================================================
-- Synthetic dataset : online_store
-- Dialect           : MySQL / MariaDB
-- Contents          : 3 table(s), 25,000 row(s)
-- Load with         : mysql your_database < this_file.sql
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
START TRANSACTION;
INSERT INTO `customers` (`id`, `name`, `email`, `city`) VALUES
    (1042, 'Priya Nair', 'priya.nair@example.com', 'Pune'),
    (1043, 'Lucas Meyer', 'lucas.meyer@example.com', 'Berlin');
INSERT INTO `orders` (`id`, `customer_id`, `ordered_at`, `total`) VALUES
    (5512, 1042, '2026-03-14', 49.00);
COMMIT;
SET FOREIGN_KEY_CHECKS = 1;

Sample output, shortened. Your file contains every table and row you asked for.

Why teams use it

Built for data that behaves like production

01

Works from your DDL

Upload your CREATE TABLE statements (a mysqldump --no-data file works well) or describe the tables you need in plain English.

02

Every foreign key resolves

Parent tables are filled first and child rows only reference keys that exist, so joins and constraints behave like production.

03

AUTO_INCREMENT handled

Identity columns are written in a way MySQL accepts, so your app can keep inserting after the load.

04

Batched INSERTs

Rows are written as batched multi-row INSERTs for fast loading.

05

Consistent business data

Order totals match their line items, dates follow each other in the right order, and statuses follow realistic proportions.

06

No real data needed

We read structure only. Any data rows in an uploaded file are removed before processing.

How it works

From schema to dataset in three steps

1

Describe or upload

Describe your data in plain English, or upload your SQL schema for PostgreSQL, MySQL / MariaDB, SQL Server and SQLite.

2

Review the plan

Check the tables, columns and rules the AI proposes, and adjust anything you like.

3

Generate and download

Choose how many rows you need and download a ready-to-run SQL script, CSV, Excel (one sheet per table) or JSON.

Questions

Does it support MariaDB?

Yes. The MySQL output is compatible with MariaDB.

Can I get CSV instead of SQL?

Yes. Every dataset can also be downloaded as CSV, Excel (one sheet per table) or JSON.

Will it respect my foreign key constraints?

Yes. Tables are generated in dependency order and inserted in the same order, so the data is consistent with your constraints.

Do I need to share production data?

No. GenerateRealData never needs real rows: it works from your schema's structure or a plain-English description.

Get realistic data in minutes

Start with a free trial. No real data, no credit card.

Start free
Explore more
PostgreSQL Data Generator SQL Server Data Generator SQLite Data Generator AI Synthetic Data Mock Data Generator Time Series Generator Buyer's Guide All capabilities