diff --git a/docs/06-concepts/cli/commands/database/_database.md b/docs/06-concepts/cli/commands/database/_database.md index e69de29b..28c51819 100644 --- a/docs/06-concepts/cli/commands/database/_database.md +++ b/docs/06-concepts/cli/commands/database/_database.md @@ -0,0 +1,5 @@ +# serverpod database + +The `serverpod database` command manages the embedded PostgreSQL database of a Serverpod project. Use `serverpod database start` to boot the database on its own, without starting the server, and keep it running until you stop it with Ctrl+C. This is useful for connecting external database tools while the server is stopped. + +The database configuration comes from the run mode selected with `--mode`, which must have `database.dataPath` set. For that option and its default, see the [Configuration reference](../../../lookups/configuration-reference.md).