Get Started
MariaDB gives your applications and agents one durable place for their data: a single source of truth that scales with your workload, runs anywhere, and is built on curated open source. These docs cover MariaDB Server, both Community and Enterprise, plus the MariaDB Platform components that extend it.
The Get Started pages follow one small online shop. It starts as a single products table that an application queries, and it grows into an application account, backups, a replica, and a weekly sales report. The pages are written for the developer who builds that shop, so each step is SQL or code that you run yourself. The people who keep the shop online and the people who report on its sales use the same server, and their part of the story has pages of its own.
Pick a tab to get a server running, either with your coding agent or by hand. The Get Started pages follow the Docker tab, and each other tab says what changes for you. On Windows or macOS without Docker, install MariaDB Server with the Windows MSI package or with Homebrew on macOS, then continue at step 2.
Add the MariaDB plugin to Claude Code:
Then start Claude Code in your project and paste this:
The first run downloads the mariadb-shell client and a MariaDB server binary, about 75 to 105 MB in total depending on your platform, and the sandbox runs natively, so you don't need Docker. The --pre flag installs the MariaDB Connector/Python 2.0 release candidate, which needs no C library, so it suits a sandbox. Step 3 below uses the GA release for application code. The sandbox doesn't include the mariadb command-line client, so install it from the Linux tab or your package manager. Using Codex, Pi, Hermes Agent, or OpenCode? The MariaDB AI plugins README has the install steps for each.
The prompt creates the shop database with ten products of its own, so skip step 2 below, and use port 3310 and the password sandbox in step 3.
This runs the official MariaDB image from Docker Hub. On first start, the container spends a few seconds creating its data directory, so the until loop waits for the image's healthcheck.sh script to report that the server accepts connections. For volumes, configuration, and the other environment variables, see Installing and Using MariaDB via Docker.
Your distribution's package might be a few releases behind. To get the current release, add the MariaDB package repository first.
A package install gives root no password. The root account signs in through Unix socket authentication, so open the client with sudo mariadb, and run the step 3 script after the Server page creates the shop_app account.
The MariaDB Enterprise Kubernetes Operator is part of MariaDB Enterprise Platform. It pulls images from docker.mariadb.com with your Customer Download Token, which the mariadb-enterprise secret holds. The values.yaml file names that secret under imagePullSecrets. See Install the operator with Helm.
The operator alone runs no database yet. Before step 2, create a MariaDB resource as the Kubernetes tab on the Deployment page shows.
Sign in at cloud.mariadb.com and launch a Serverless service. It's ready in seconds.
Click Manage on the service, choose Manage allowlist, and add your IP address. A new service blocks all external traffic until you do.
Click Connect on the service and copy the host, port, user, and password.
Connect:
The MariaDB Cloud quickstart walks through each screen, and Configuring Firewall covers the allowlist.
In steps 2 and 3, use the host, port, user, and password from the Connect dialog, and turn on TLS in the script with ssl_verify_cert=True. The Cloud page shows the full script.
From Install to Your First Query
Three steps take you from a running server to rows coming back in Python.
Run MariaDB Server
Use the Docker tab above to follow along page by page, or another tab with the change it notes. Deciding where to run it in production? Deployment walks through the options.
Create Some Data
Open the mariadb client and run:
The MariaDB basics guide covers databases, tables, and your first statements in more depth.
Query It From Python
This example uses Python. MariaDB has connectors for Node.js, Java, C#, C++, and more, listed under Connect From Your Language.
Install MariaDB Connector/Python:
The current GA release, MariaDB Connector/Python 1.1, builds against MariaDB Connector/C 3.3.1 or later, so install Connector/C first if your system doesn't have it. Then run:
On the sandbox, use port 3310 and the password sandbox. The Python connector quickstart picks up from here with transactions, connection pools, and error handling.
Keep Your Agent in the Docs
This documentation is also a Model Context Protocol (MCP) server, which is how coding agents reach tools and data outside the editor. Add it once, and your agent can search and read current MariaDB docs while it works with you, so it stops guessing at syntax.
Build With MariaDB
Jump to a feature, find the connector for your language, or clone a sample app and run it.
Connect From Your Language
Pick a Path
Each path is a page that walks through one job in order and links to the docs you need along the way.
Run It in Production
Back up and restore, run clustered and routed topologies, and tune performance. For courses and certification, see MariaDB University.
Get Help
Community
Ask questions and meet the people who build MariaDB on mariadb.org and the MariaDB Zulip chat.
This page is: Copyright © 2026 MariaDB. All rights reserved.

