TinyCloud stores metadata and related state in a relational database. The node accepts SQLite, PostgreSQL, and MySQL connection strings.
Supported backends
SQLite
SQLite is the default. It is the simplest option for development and single-node deployments.
PostgreSQL
Use PostgreSQL for production deployments that need concurrency and operational tooling.
MySQL
MySQL is also supported if your infrastructure already uses it.
Migrations
The node applies database migrations automatically on startup. There is no separate migration command.
Practical guidance
- Use SQLite for a quick local node
- Use PostgreSQL for most production deployments
- Make sure the database is reachable before starting the node
If startup fails after a database change, check the node logs and confirm the connection string in tinycloud.toml or TINYCLOUD_STORAGE__DATABASE.