Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Document --enable-namespaces flag under Multitenancy section #745

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/USER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ async fn main() {

## Multitenancy

The `sqld` server supports more than one databases. Currently, databases are created lazily when a HTTP request arrives.
The `sqld` server supports more than one databases when you start it with `--enable-namespaces` flag.
Currently, databases are created lazily when a HTTP request arrives.
The name of the database is determined from the `Host` header in the HTTP request.

For example, if you have the following entries in your `/etc/hosts` file:
Expand Down