Database & Migrations
Mule stores every primitive — providers, agents, tools, skills, workflows, jobs, WASM modules, wakes, policies, users, and API keys — in a single PostgreSQL database. There is no other supported storage backend.
This page covers how Mule connects to Postgres, how the schema is created and evolved automatically at startup, and which tables make up the data model.
Connecting
The database is configured with the -db CLI flag — a standard PostgreSQL
connection string. There is no environment-variable equivalent: