Skip to content
BasiX Agency

FiveM database hosting

A managed MySQL-compatible database for your FiveM server.

MariaDB for oxmysql, ESX and QBCore, reachable over TLS, backed up every night, with a ready connection string for server.cfg. It lives in the same account as your images and logs, and draws on the same storage.

No card · 3 GB free · Bandwidth never billed

On this page

Why move the database off the game box

Most FiveM servers run MySQL or MariaDB on the same machine as FXServer. It is the easy start, and it ties two very different jobs together: a game server you restart and tinker with, and a database that holds every character, vehicle and bank balance. A disk filling up with logs, an update that goes wrong or a reinstall of the machine all put the data at risk, and backups are usually the thing nobody set up.

A managed database takes that part off your hands. BasiX creates the database, its user and password, takes a backup every night and lets you restore it with a click — so the game server becomes something you can rebuild without fear.

Connecting oxmysql

Create a MariaDB database in the dashboard. It shows the host, port, user, password and a ready connection string; the oxmysql line for server.cfg is one copy away. The connection uses TLS, which the string enables, so credentials and queries do not travel in clear text between your game server and the database.

MariaDB speaks the MySQL protocol, which is what oxmysql, ESX and QBCore expect. PostgreSQL is also available for web panels and tools that prefer it.

server.cfg — oxmysql

set mysql_connection_string "mysql://user:[email protected]:3306/dbname?ssl={}"

Moving an existing database

Two ways in. Import a .sql dump from the dashboard — up to 95 MB, or gzip it to .sql.gz for larger dumps. Or paste the connection string of the database you are leaving and BasiX copies its content across, reading the source only. Copy once ahead of time, then again right before you change server.cfg, and the switch takes the length of a restart.

Leaving is as easy: download a full dump (.sql.gz) whenever you want. Your data is never locked in.

Backups, access rules and a SQL editor

A backup is taken every night and the last 7 are kept; restoring one is a button in the dashboard. Access is open by default and can be limited to up to 50 IP addresses or ranges — your game server and your own machine, for example. You can cap simultaneous connections, and on MariaDB the queries and connections per hour, which keeps a runaway script from taking the database down with it.

The dashboard includes a SQL editor for quick checks and fixes, and you can create a separate read-only user for a developer, a panel or a tool that should never write. The same access rules can be set through the API.

Plans and storage

Databases are included in every paid plan rather than sold separately; how many depends on the plan: Free 0, Starter 3, Pro 10, Business 25, Ultra 50. Their size counts toward the same storage as your files and logs. If you go over quota the database switches to read-only until you free space or change plan — it does not vanish. Paid plans start at €5 per month for 25 GB, tax included, and bandwidth is never billed.

Questions

MariaDB, which is compatible with the MySQL protocol oxmysql uses. ESX and QBCore run on it unchanged. PostgreSQL is also offered for other tools.

Related

Updated Oct 26, 2026

Your first file online in a few minutes.

Sign up, upload a file, copy the URL.

3 GB free · No card · Bandwidth not billed

FiveM database hosting: MariaDB for oxmysql — BasiX