Start
A few lines in doze.hcl give you MariaDB. Nothing starts until something connects.
1 · In doze.hcldoze.hcl
module mariadb "mariadb" {
version = "11.4"
} It listens on port 3306. doze env prints its address for tools outside doze.hcl.
A fuller setup
Paste it over the block above and keep what you need.
The MariaDB example, complete
The example the module ships in its own description (meta.yaml), in doze 0.2's module syntax.
doze.hcl
module mariadb "app" {
version = "11.4"
character_set = "utf8mb4"
user "app" {
password = "secret"
host = "%"
}
grant {
user = "app"
privileges = ["ALL PRIVILEGES"]
database = "app"
}
}Quality
Each line says where it comes from, so you can check it.
- Signed by doze-dev
ed25519 key Nu5y8mbj…GWjw=, compiled into doze, over every file and over the whole index. How signing works
signed index - Three platforms
macOS arm64, Linux x86_64, Linux arm64, each with its own sha256, in every release.
signed index - Conformance-tested on MariaDB 11
Every argument on the Reference tab converged into a running engine, once per supported version, before a release is signed.
doze-modules CI · new - Every example on this page parsed by doze
By doze 0.2 with doze lint --offline, on every change to the registry.
registry CI · new - Source linked
https://mariadb.org, Apache-2.0; MariaDB builds from doze-binaries.
GitHub