What is Connection string?

A connection string (or connection URI) packs everything a driver needs to reach a database: engine scheme, user, password, host, port, database name and options, for example postgresql://user:password@host:5432/dbname.

Keep connection strings in server-side configuration or a secret manager, never in browser code or a public repository. URL-encode reserved characters in passwords.

Connection string in LordBase

LordBase shows the connection details for each database; build your configuration from the real username, password and public destination. Managed PostgreSQL

Related terms

Free for up to 3 databases

PostgreSQL, Redis and MongoDB in one place. Upgrade when your project grows.

Last updated

What is Connection string? Definition | LordBase