Managed databases
Managed MariaDB 11, MySQL compatible
The engine most game plugins and PHP applications already know how to use. MariaDB speaks the MySQL protocol: your MySQL drivers and tools connect to it as they are.
- Running
- from €1.56/month
- Stopped
- €0.06/month
- Port
- 3306
# Your FiveM server’s resourcesensure oxmysqlensure es_extended# “From your game servers” address of your free databaseset mysql_connection_string "mysql://arkya:PASSWORD@ <address>:<port>/serveur_rp?charset=utf8mb4"
Exactly what you get.
A MariaDB instance of your own, with its own resources and its own disk. Nothing is shared with another customer.
| Version | MariaDB, major version of your choice, official mariadb image |
|---|---|
| Compatibility | MySQL protocol and syntax: mysql2, PDO MySQL, mysqlclient, JDBC, oxmysql, MySQLOO |
| Port | 3306, on the project’s private network |
| Account | The arkya user and a database named after your service; add more databases and users from the client area |
| Storage engine | InnoDB, transactional, by default |
| Backup | Compressed mysqldump --single-transaction, scheduled or on demand, restorable in one click |
| Disk | From 1 to 100 GB. It grows whenever you want, and never shrinks. |
What people put in it.
If a tool says “MySQL”, it works with MariaDB. It’s the database of gaming communities and of PHP.
Minecraft plugins
LuckPerms, CoreProtect or Plan store their data in MySQL or MariaDB: fill in the host, port and credentials in their configuration.
FiveM with oxmysql
ESX, QBCore and their resources go through oxmysql; the connection string goes in
server.cfg.Garry’s Mod
DarkRP and its modules connect through MySQLOO, with the same credentials.
PHP applications
Laravel, Symfony or a home-made back office: PDO MySQL connects without changing anything in the code.
Discord bots
Levels, tickets, economy: a bot that keeps its data in MySQL has nothing to adapt.
Several databases, one instance
One database and one user per plugin or per application, on the same instance and the same bill.
Two ways to connect to it.
From an application in the project, through references. From a game server, through the address reserved for our game machines, which only the database included with your server has.
- Build the address yourself. References give the host and port; the user, password and database name are in the Connection tab.
- For a game server, use the free database. It’s the one open to our game machines; the Connection tab even gives you the
server.cfgline for FiveM. - Nothing is open to the Internet. To read or fix a table, the client area’s data editor is enough.
DB_HOST=${guilde-db.HOST}DB_PORT=${guilde-db.PORT}DB_DATABASE=guilde_dbDB_USERNAME=arkyaDB_PASSWORD=••••••••••••
The price of your MariaDB database.
The same rates for all three engines: CPU, memory and disk, each by the minute. Once stopped, your database only pays for its disk, and for backups beyond the included volume.
Prices include VAT, for a 30-day month, taken from your prepaid balance.
- Running all month
- €1.56or 0.22 ct/h
- Stopped all month
- €0.06the disk only
Coming from another MySQL host.
Shared hosting, VPS or game server: an SQL export, an import, and your plugins change address.
Export as SQL
mysqldump --single-transaction --routines --triggers my_database | gzip > export.sql.gz, or phpMyAdmin’s SQL export. Keep theutf8mb4encoding.Import into your new database
Create your MariaDB database at Arkya, open the Data tab and import the file. The client runs in safe mode: system commands slipped into the file are rejected.
Change the address
In your configuration (plugins,
server.cfg,.env), replace the host, port and credentials. Restart, check, then shut down the old database.
A MySQL 8 export can carry collations or functions specific to MySQL. If the import reports an error, replace the collation at fault (for example utf8mb4_0900_ai_ci with utf8mb4_unicode_ci) and run it again.
Questions about MariaDB.
Is MariaDB really MySQL compatible?
For the most part, yes: same protocol, same SQL syntax, same drivers. A few features specific to MySQL 8 differ, like the binary JSON type or some collations; game plugins and PHP frameworks almost never touch them.
Can my Minecraft plugin reach a database I create separately?
Not today: a database created separately can only be reached by the applications in its project. For a plugin, use the free database included with your game server, open to our game machines; you can grow it if it gets too small.
Can I have phpMyAdmin?
You don’t need it for the essentials: the client area’s data editor browses tables, edits rows, runs queries and imports SQL files.
Which encoding should I choose?
utf8mb4, everywhere: it’s the only one that covers every character, emojis included. Set it in your connection strings (charset=utf8mb4), as the FiveM line from the client area does.
What’s the maximum size of an import?
5 GB per file, as .sql or .sql.gz. Beyond that, split the export by table, or compress it: an SQL dump compresses very well.
What does a stopped MariaDB database cost?
Only its disk, €0.06 per month for 10 GB, and its backups beyond the 10 GB included. CPU and memory no longer count.
The other engines.
Your MySQL database, hosted in Paris.
Create it from the client area, or declare it in arkya.json with "type": "mysql" and let ark deploy order it.