Closed ptrxyz closed 1 month ago
I think you need to follow this guide. Essentially namespaces are managed via the admin API, not the users api. So the route you want to access is expected not to be found on this host.
^that is correct. Make sure to set the admin listen address:
export SQLD_ADMIN_LISTEN_ADDR="0.0.0.0:8000"
According to https://github.com/tursodatabase/libsql/blob/main/docs/USER_GUIDE.md#multitenancy it should be possible to create namespaces using the simple
curl
command state in the referred doc. However the call returns 404.See the following screenshot:
In the lower half, sqld is running with
--enable-namespaces
using the officially provided docker image. In the upper half,curl
command was issued with a response code404