DockHosting Docs
Databases

MariaDB

Managed MariaDB on DockHosting — versions and connection strings.

MariaDB is offered as its own engine, separate from MySQL — pick it if your app specifically targets MariaDB features, or if you're migrating an existing MariaDB database.

Versions

11 and 10.11 are available when you create a database.

Connection string

Injected automatically when you attach the database to a project:

mysql://<user>:<password>@<host>:3306/<database>

MariaDB is wire-compatible with MySQL, so any MySQL client or driver (mysql2, PyMySQL, go-sql-driver/mysql) connects to it the same way — the connection string format is identical.

Connecting locally

Off by default — see Connect from your computer. Once public access is on:

mariadb -h <host> -P <port> -u <user> -p <database>

(the mysql CLI client also works, for the same wire-compatibility reason)

Backups

Automatic, plus on-demand — see Backups.

On this page