---
title: "MariaDB database server on a VPS · CloudSat"
description: "Deploy MariaDB on a CloudSat VPS: an open-source, MySQL-compatible database with Galera clustering and system-versioned tables, on DDR5 memory and NVMe."
url: https://cloudsat.io/apps/deploy-mariadb
updated: 2026-11-18T15:52:35Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Databases](https://cloudsat.io/apps/category/database-servers) Editor's pick

# MariaDB on a VPS

MariaDB is an open-source relational database that began as a fork of MySQL, keeping its protocol and tools while adding engines and features.

[Deploy MariaDB](https://dash.cloudsat.io/console/deploy?image=app%3Amariadb&plan=cloud-1g) [All apps](https://cloudsat.io/apps)

## About MariaDB

MariaDB Server is a relational database started by MySQL's original developers and released under GPL-2.0. It speaks the MySQL protocol, so most clients, drivers and applications work unchanged, and it adds Galera clustering, system-versioned tables and a choice of storage engines.

A database on its own CloudSat VPS keeps queries off your web server and lets you size memory for the buffer pool. NVMe keeps random reads fast, and a snapshot gives you a restore point before schema changes.

After deploy MariaDB listens on port 3306, and on Ubuntu the root account signs in through the local socket with `sudo mariadb`, no password needed.

## What you get with MariaDB

- Compatibility with MySQL clients and drivers
- InnoDB plus other storage engines
- Galera Cluster for multi-primary replication
- System-versioned tables for point-in-time queries
- JSON functions, window functions and CTEs

## MariaDB use cases

- A database server for WordPress, Nextcloud or custom apps
- Replacing a MySQL instance with an open-source equivalent
- A replica that takes reporting queries off the primary

## After you deploy MariaDB

1. When the console lists the server as **Running**, SSH in as root and open a client with `sudo mariadb`.
2. Run `mariadb-secure-installation` to remove anonymous users and the test database.
3. Create an application user, for example `CREATE USER 'app'@'203.0.113.10' IDENTIFIED BY 'a-long-password';`, and grant only what it needs.
4. For remote access, change `bind-address` and allow port 3306 only from your app servers in a CloudSat firewall.

## MariaDB ports

Open these in your firewall if you use one: `3306/tcp MariaDB (MySQL protocol)`.

## MariaDB FAQ

### Can I move a MySQL database to MariaDB?

Usually, yes. Dump it with `mysqldump` and import the file, but read the compatibility notes first when coming from MySQL 8, since some features and defaults differ.

### How should I size the server?

Let InnoDB's buffer pool hold your working set. On a VPS that runs only the database, `innodb_buffer_pool_size` is often set to half or more of the memory.

**Disclaimer.** The MariaDB project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

## Apps like MariaDB

[All apps in Databases](https://cloudsat.io/apps/category/database-servers)

- [MySQL](https://cloudsat.io/apps/deploy-mysql): Databases MySQL Community Server is the open-source relational database behind WordPress, Drupal and many web stacks, with InnoDB transactions and built-in replication.
- [PostgreSQL](https://cloudsat.io/apps/deploy-postgresql): Databases PostgreSQL is a mature open-source relational database with strong SQL standards support, JSONB, full-text search, replication and a deep extension ecosystem.
- [phpMyAdmin and MySQL](https://cloudsat.io/apps/deploy-phpmyadmin-and-mysql): Databases This stack installs MySQL Community Server with phpMyAdmin, the PHP web interface for browsing tables, running SQL, importing dumps and managing users.
- [Adminer](https://cloudsat.io/apps/deploy-adminer): Databases Adminer is a full database manager in one PHP file: browse tables, run SQL, edit rows and export dumps for MySQL, MariaDB, PostgreSQL, SQLite and more.
- [Apache CouchDB](https://cloudsat.io/apps/deploy-couchdb): Databases Apache CouchDB stores JSON documents behind an HTTP API and replicates between servers, browsers and phones. The backend of choice for offline-first apps.
- [Apache Kafka](https://cloudsat.io/apps/deploy-apache-kafka): Databases Apache Kafka is a distributed event streaming platform: durable, partitioned logs that producers write to and consumers read at their own pace.
