From 99f20854ca6d82c614174837b47af6e07afce055 Mon Sep 17 00:00:00 2001 From: Avinash Sajjanshetty <640792+avinassh@users.noreply.github.com> Date: Fri, 6 Oct 2023 18:06:32 +0530 Subject: [PATCH] Update USER_GUIDE.md --- docs/USER_GUIDE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/USER_GUIDE.md b/docs/USER_GUIDE.md index 21a666d7..0da5f0b9 100644 --- a/docs/USER_GUIDE.md +++ b/docs/USER_GUIDE.md @@ -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: