MariaDB

Databases Cloud Server Made by MariaDB Foundation

SQL database that began as a fork of MySQL

Install

Plan

s-1vcpu-2gbSmallest that fits

1 vCPU · 2 GB RAM · 32 GB NVMe

฿229/mo

Settings

Timezone

MariaDB 11.8 LTS from Ubuntu, with Ubuntu’s security updates. It runs as a system service that starts when the server boots. Uninstalling it deletes MariaDB and its data.

After you press Install

  1. Check the price, accept the terms

    In the console

  2. Press Create server and install

    The server is created and billing starts

  3. Connect

    From outside on the public IP, or a program on the server

Connection and data

Who can connect
Connect from outside on the server’s public IP, from the IPs you allow (yours to start with). The password is made for you and the connection is encrypted with TLS.
From outside
In the console after installingmysql://xver:••••••@SERVER_IP:3306/xver?ssl-mode=REQUIRED
On the server
For programs on the same servermysql://xver:••••••@127.0.0.1:3306/xver
Password
Made on the server when it is installed. Shown in the console.
If you change it
If you changed the password inside MariaDB, the one shown is out of date.
Who can read it
Anyone with access to this server, coding agents included, can read this password.
Data
Data is on this server’s disk and is not backed up automatically. Deleting the server deletes it.
Other apps on the server
Other apps on this server can run commands, so they can read, change or delete the data in MariaDB. Use separate servers for important data.

Terms and costs

  • You read and accept the terms of MariaDB before you confirm.
  • XVer bills only the server, not app accounts or their usage.

Read the terms of MariaDB (opens in a new tab)

Full statement

XVer is not the developer or agent of MariaDB, and MariaDB does not endorse this service. You chose to install MariaDB and use it under the terms of MariaDB. You run the database and back up its data yourself. Names and logos are trademarks of their owners.

How to access

From outside

Connect from a program on your computer over the public IP, from the IPs you allow, encrypted with TLS.

  1. Show the password in the console after installing

    To start with, connections are accepted from your IP

  2. Put this address in your program

    mysql://xver:••••••@SERVER_IP:3306/xver?ssl-mode=REQUIRED

Replace SERVER_IP with your server’s IP

SSH tunnel

For when connections from outside are off. Connect from your computer through an SSH tunnel.

  1. Open an SSH tunnel in a terminal on your computer and leave it running

    With the same password or key you use for the server

    ssh -N -L 3306:127.0.0.1:3306 xver@SERVER_IP
  2. Connect from another window

    The password is shown in the console after installing

    mariadb -h 127.0.0.1 -P 3306 -u xver -p xver

Replace SERVER_IP with your server’s IP

Programs on the same server connect to 127.0.0.1 directly, without a tunnel.

Web terminal

Opens in the browser.

  1. Open the server in my.xver.cloud

  2. Press Web terminal

    No server password

The owner and members who can manage the project can open it.

SSH

From a terminal on your computer, with a password or a key.

  1. Connect over SSH

    ssh xver@SERVER_IP

Replace SERVER_IP with your server’s IP

1 copy the SSH command 2 show the password (sample data, console in Thai)

Web console

For when the web terminal or SSH does not open. Needs the server’s password.

  1. Open the server in my.xver.cloud

    The user name and password are under the Access tab

  2. Press the arrow next to Web terminal and choose Web console

  3. Type the user name and password

A server with only an SSH key has no password: use SSH.

Images

  • Create tables, add rows and query with SQL in MariaDB
  • Inspect table structure with SHOW TABLES and DESCRIBE
  • Create a database and switch to it in a few commands
  • 1 copy the SSH command 2 show the password (sample data, console in Thai)

Screenshots taken by XVer

On this page
  1. What it does
  2. Who it's for
  3. What you need
  4. How to install
  5. What is on the server
  6. Connect for the first time
  7. Who can get in
  8. Change passwords
  9. Back up and restore
  10. Remove the app
  11. What it costs
  12. Safety
  13. Frequently asked questions

MariaDB screenshots

  • Create tables, add rows and query with SQL in MariaDB
  • Inspect table structure with SHOW TABLES and DESCRIBE
  • Create a database and switch to it in a few commands

Screenshots taken by XVer

MariaDB is an open-source SQL database started in 2009 by the original developers of MySQL, as a drop-in replacement for it. It is looked after by the MariaDB Foundation, a non-profit, together with the company MariaDB, its main code contributor, and is licensed under GPLv2.

What it does#

Task How MariaDB does it
Stores data for sites and apps Tables and SQL. Most apps written for MySQL connect with the drivers they already use
Stores text in any language The default character set is utf8mb4, so Thai and emoji are stored in full
Vector search A VECTOR type, a nearest-neighbour index and distance functions, for AI work such as finding documents by meaning
Dates far ahead TIMESTAMP holds dates past 2038
Faster backups mariadb-dump and mariadb-import can work on several tables at once
Splits up access A user per app, with rights per database or per table

Developer site: mariadb.org (opens in a new tab) · Source code: GitHub (opens in a new tab)

Who it's for#

  • Developers whose app or framework supports MySQL and who want a database run in the open by its community
  • Teams building AI search that want vectors in the same SQL database as the rest of their data
  • Small teams that need a database for testing or staging, apart from everyone's laptops
  • People who can run a database themselves, including backups and restores

What you need#

Item Details
Account None
Smallest size 1 vCPU, RAM 2 GB, NVMe disk 32 GB, Bandwidth 2 TB
On your computer The mariadb client or a database tool that connects to MariaDB, such as HeidiSQL or DBeaver. An SSH client too if you use an SSH tunnel
Cannot share a server with MySQL, which uses the same port 3306

How to install#

  1. Press Install MariaDB on this page
  2. Sign in to XVer, then check the plan and the price
  3. Choose how you get into the server: a password or an SSH key
  4. Read the MariaDB terms and tick the box to accept them
  5. Press Create server and install. The server is created and billing starts after this step

When it is installed, the password of the user xver and the database's root password are on the install page in the console. Show them when you need them.

What is on the server#

Item Details
System Ubuntu 26.04, user xver with sudo
Database MariaDB 11.8 LTS, database xver
The database user xver Full rights on the database xver only
The database user root All rights, for making more databases and users. It signs in with a password from 127.0.0.1
Ports open to the internet Port 3306, only from the IPs you allow, encrypted with TLS
Runs in the background MariaDB runs all the time and starts when the server boots

Connect for the first time#

From your computer#

MariaDB takes outside connections on port 3306 from the IPs you allow. At first that is only your own IP. You can add more in the console. Connections are encrypted with TLS.

Connection string
mysql://xver:PASSWORD@SERVER_IP:3306/xver?ssl-mode=REQUIRED

Connect with the mariadb client. A -p with no password after it makes the client ask for one. Paste the password from the console. It is not shown on screen.

On your computer
mariadb -h SERVER_IP -P 3306 -u xver -p --ssl xver

When it works: you see the prompt MariaDB [xver]>. Type SHOW TABLES; to list tables and \q to quit.

In HeidiSQL or another tool, use the server's IP as the host, port 3306, user xver, database xver, the password from the console, and turn on SSL.

Through an SSH tunnel#

If you keep outside connections off, an SSH tunnel carries port 3306 on your computer to the server. This step needs SSH. The web terminal cannot do it.

Open Terminal or PowerShell on your computer and leave the window open. Use the same password or key you use for the server. After the password, a still screen is normal.

On your computer
ssh -N -L 3306:127.0.0.1:3306 xver@SERVER_IP

Open another window, connect with mariadb and paste the password from the console when asked. Use 127.0.0.1, not localhost: the MariaDB docs call localhost a special value, and it makes the client use a socket file on your own computer instead of the tunnel.

On your computer
mariadb -h 127.0.0.1 -P 3306 -u xver -p xver

In HeidiSQL or another tool, use host 127.0.0.1, port 3306, user xver, database xver and the password from the console, while the tunnel is running.

From an app on the same server#

Programs on the server connect to 127.0.0.1:3306 directly, without a tunnel. The connection string looks like this.

Connection string
mysql://xver:PASSWORD@127.0.0.1:3306/xver

Some apps ask for each part separately: host 127.0.0.1, port 3306, user, database and password. Keep them in the app's settings file or environment variables, never in code that goes into Git.

Give an app its own user and database#

The user xver cannot create databases. Use root instead, which connects only from the server itself. Open the web terminal or SSH in, or use an SSH tunnel, then run mariadb -h 127.0.0.1 -P 3306 -u root -p and paste the root password from the console.

In mariadb
CREATE DATABASE myapp;
CREATE USER 'myapp'@'127.0.0.1' IDENTIFIED BY 'MYAPP_PASSWORD';
GRANT ALL PRIVILEGES ON myapp.* TO 'myapp'@'127.0.0.1';

Replace MYAPP_PASSWORD with a long random password of your own. That app then uses the user myapp instead of xver, and sees only the database myapp.

Who can get in#

Way in Who
From outside People connecting from an IP you allow who know the database password
SSH tunnel People who can SSH into the server and know the database password
Programs on the server Programs that have the database password
Web terminal The owner and members who can manage the project, with no server password
SSH People who hold the server's password or key
Web console People who hold the server's password

Anyone with access to this server, coding agents included, can read the database password.

Change passwords#

What How
The server's password Server page, Access tab, press Reset password. The old one stops working at once
The database user xver Connect as root and run ALTER USER 'xver'@'%' IDENTIFIED BY 'NEW_PASSWORD';. After that, the password the console shows is out of date: keep the new one yourself and update every app that uses it

Back up and restore#

The data is on this server's disk and is not backed up automatically. Deleting the server or uninstalling the app deletes it. mariadb-dump writes a database out as an SQL file. With --single-transaction, it copies InnoDB tables as they were at one moment, without blocking the apps using them.

Back up to your computer so the file lives off the server. Through an SSH tunnel, change -h SERVER_IP to -h 127.0.0.1 and drop --ssl.

On your computer
mariadb-dump -h SERVER_IP -P 3306 -u xver -p --ssl --single-transaction xver > xver.sql

Restore with the mariadb client by feeding the file into the target database. Tables with the same names are replaced by the ones in the file.

On your computer
mariadb -h SERVER_IP -P 3306 -u xver -p --ssl xver < xver.sql
  • This backs up one database at a time. If you made more databases, back up each one with a user that has rights on it
  • --single-transaction gives a consistent copy of InnoDB tables only. Tables of other kinds may change while the backup runs
  • A backup file holds all your data. Guard it like a password, and test a restore before you need one

Remove the app#

  1. Back up with mariadb-dump first. Uninstalling deletes MariaDB and all its data
  2. Open the server page, Apps tab
  3. Press Uninstall on MariaDB, check what will be deleted, and confirm

The server stays and is billed as usual. If you no longer need it, delete the server. Its data is gone for good.

What it costs#

XVer does not charge for the app. You pay XVer for the server only. A server that is off is still billed. Delete it to stop billing. Its data is gone for good.

PlanNVMe diskBandwidthPer hourPer month
1 vCPU · 2 GB32 GB2 TB฿0.38/hr฿229/mo
2 vCPU · 4 GB40 GB4 TB฿0.70/hr฿419/mo

The price you pay is shown before you confirm

Compare every size on Cloud Server pricing.

Safety#

Do this Avoid this
Allow only the IPs you really use Letting every IP connect
A user per app, with rights on that app's database only Apps on the root account
Regular mariadb-dump backups kept off the server Keeping the data only on the server
  • The server's user xver can use sudo without a password, so anyone who can run commands on the server can reach all the data
  • Do not type the password right after -p in a command: the MariaDB docs call that insecure. Do not paste it into a chat or a screenshot either

Frequently asked questions#

Is it free, and do I need an account?

MariaDB Server is free and open source under GPLv2. The MariaDB Foundation states it will stay free software, independent of any company. You need no account with anyone. XVer charges only for the server.

What server size do I need?

s-1vcpu-2gb is enough for a small site or app. For a lot of data, many connections at once, or other databases on the same server sharing its RAM, choose s-2vcpu-4gb or larger.

How do I update it?

MariaDB 11.8 LTS gets Ubuntu's security updates. The MariaDB team maintains 11.8 until June 2028. There is no automatic upgrade to a new major version: moving to one means a backup with mariadb-dump and a restore into the new version.

Can I open it to the internet?

Yes. The server takes connections on port 3306 from the IPs you allow, at first only your own, and you can add more in the console. It needs the password made on the server, and the connection is encrypted with TLS.

I lost the database password. What now?

Show it on the install page in the console, where both the xver password and the root password are kept. If you changed a password yourself, the console still shows the old one.

Is XVer connected to MariaDB?

No. XVer is not its developer or agent, and neither the MariaDB Foundation nor the company MariaDB endorses this service.

฿229/mos-1vcpu-2gb

Install MariaDB

Related posts

See all apps