Skip to content

Databases section

The Databases section (right rail) is a declarative catalog of connections. It only describes connections so a micro can point at them; MicroLab does not start or orchestrate database instances.

Each connection has: name, engine (postgresql, mysql, mariadb, oracle, sqlserver, mongodb), host, port, user and password.

Secrets go as ${creds.x} (resolved from settings.local.yml, outside Git), never in cleartext. See Credentials.

Test does a TCP reachability check: does the host:port respond? It does not validate credentials or the schema, only that the machine is reachable.

In a micro’s editor, the database selector (inside the startup configuration) lets you choose a connection from the catalog. When you select it, its host:port replaces the one in the URL the micro already declares. See Point at another DB.

microlab db list, db save, db delete, db test <host> <port>. The catalog lives in .microlab/databases.yml (versionable).