MySQL Tutorial Database

How to use MySQL Compatibility in RepoDB

Suman Malik
January 29, 2026

Unlocking MySQL Power

RepoDB now supports MySQL dialect! This means you can use the familiar MySQL syntax while still enjoying the serverless, multi-tenant benefits of RepoDB. Whether you're migrating an existing app or starting fresh with tools that expect MySQL, we've got you covered.

1. Enabling MySQL Dialect

When creating a new database in the dashboard, simply check the "MySQL Compatibility" box. This tells RepoDB to interpret your queries using the MySQL dialect.

2. Using the SDK

Update your client to specify the dialect. This ensures the client-side parsing and error handling match MySQL's behavior.

const db = new Repodb({
    host: 'https://repodb.ogensync.com',
    token: 'your-token',
    dialect: 'mysql' // Set this to 'mysql'
});

3. Supported Syntax

You can now use MySQL-specific features like LIMIT/OFFSET (already in SQLite), but more importantly, backtick quoting, MySQL-style comments, and common MySQL functions. This makes RepoDB a drop-in replacement for many lightweight MySQL use cases.

Ready to try RepoDB?

Get started with your own database in seconds.


Read Next

Deep Dive: Our MySQL Compatibility Layer

A technical look at how we implemented MySQL support on top of a SQLite core, an...

Switching from SQLite to MySQL: Why and How

Already using RepoDB with SQLite? Here is why you might want to switch to the My...

Introducing RepoDB: The Future of SQLite-as-a-Service

Discover how RepoDB brings the power of SQLite to the cloud with multi-tenancy, ...