Skip to main content

Connection strings

LioranDB uses two different “URI” formats in the ecosystem:

Admin/login URI (lioran://)

This is a legacy-style URI used for logging into the server with a username/password:

lioran://<username>:<password>@<host>:<port>

Used by:

  • ldb-cli
  • @liorandb/driver (new LioranClient(...))

Database connection string (liorandb://)

This is a database-scoped credential format:

liorandb://<dbUsername>:<dbPassword>@<host>[:<port>]/<databaseName>

Used by:

  • @liorandb/driver (connect() auto-detects and uses it)