# KilnDB

KilnDB is a self-hosted database control plane for MySQL and MariaDB. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/2959/kilndb

## Description

KilnDB is a self-hosted database control plane for MySQL and MariaDB. It provisions isolated databases with least-privilege credentials, mirrors external data sources, takes scheduled snapshots, and exposes a web console with a generated REST Data API.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

48/100 (Fair), based on 3 of 4 factors.
- Maintained: 77 (last commit 9 days ago)
- Popular: 12 (3 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- Unraid: https://ca.unraid.net/apps/kilndb-15nv9zd0p4ylr9?q=KilnDB

## Common questions

### Does KilnDB require a separate application database to be installed first?

No. It supervises its own MariaDB instance, so there is no separate application database to configure before first use.

### Where is KilnDB data stored, and what should be backed up?

All data is persisted in the /data directory or the kilndb-data Docker volume. Back up the entire directory or volume before destructive maintenance or upgrades, because master.key is required to decrypt stored credentials and secrets.

### How do I connect to the MariaDB instance from another device?

By default MariaDB listens only inside the container. To connect from another device, set KILNDB_MARIADB_BIND to 0.0.0.0 and expose the port.

### How are applications authenticated to the generated Data API?

KilnDB uses App Auth to manage application users separately from console operators. It issues bearer JWTs for the Data API, Realtime, and Functions.

### Can KilnDB import or sync data from existing databases?

Yes. It can create mirrors that sync from MySQL, MariaDB, or PostgreSQL sources.

---
Source: Our Local Host (https://ourlocalhost.com/app/2959/kilndb), the self-hosted and open-source app directory.
