> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/server-management/install-and-upgrade-mariadb/migrating-to-mariadb.md).

# Migrating to MariaDB

{% columns %}
{% column %}
{% content-ref url="/pages/NEBFAjARhJdXyFNYasay" %}
[Differences Between MariaDB and Other DBMSs](/docs/server/server-management/install-and-upgrade-mariadb/migrating-to-mariadb/differences-between-mariadb-and-other-dbmss.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
A high-level comparison of MariaDB's architecture, including its pluggable storage engines, transaction log handling, and buffer pool management versus other databases.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/AHRs36JbzfhCkM6bHYaB" %}
[DDL Export Guide](/docs/server/server-management/install-and-upgrade-mariadb/migrating-to-mariadb/ddl-export.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Learn how to export SQL DDL[^1] to MariaDB from database management systems like Oracle Database, Microsoft SQL Server, MySQL, and IBM DB2.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/gmRZ1hgOjdpU4TnOwmsQ" %}
[Migrating to MariaDB from MySQL](/docs/server/server-management/install-and-upgrade-mariadb/migrating-to-mariadb/moving-from-mysql.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Complete MySQL to MariaDB migration: `mysqldump`/`mysql` import steps, SQL syntax compatibility, user/privilege migration, and replication configuration.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/xTh63AWJ3B1xUWOtcGHr" %}
[Migrating to MariaDB from PostgreSQL](/docs/server/server-management/install-and-upgrade-mariadb/migrating-to-mariadb/migrating-to-mariadb-from-postgresql.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Strategies for moving data from PostgreSQL to MariaDB, using the CONNECT storage engine with ODBC/JDBC or foreign data wrappers.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/3box6euOjU6Q1tRTqmN3" %}
[Migrating to MariaDB from Oracle](/docs/server/server-management/install-and-upgrade-mariadb/migrating-to-mariadb/migrating-to-mariadb-from-oracle.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Migrate from Oracle to MariaDB Server. This section provides detailed guidance, tools, and best practices for a smooth and efficient transition of your databases and applications.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/HjLqBgZxNGy08EfT1NFa" %}
[Migrating to MariaDB from SQL Server](/docs/server/server-management/install-and-upgrade-mariadb/migrating-to-mariadb/migrating-to-mariadb-from-sql-server.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Migrate from SQL Server to MariaDB. This section provides detailed guidance, tools, and best practices for a smooth and efficient transition of your databases and applications to MariaDB.
{% endcolumn %}
{% endcolumns %}

[^1]: DDL (Data Definition Language): The subset of SQL commands used to create, modify, or destroy the structure of database objects (like tables, indexes, and databases) rather than the data itself.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://mariadb.com/docs/server/server-management/install-and-upgrade-mariadb/migrating-to-mariadb.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
