SecretsDatabase connection strings in the open: Postgres, MySQL, MongoDB A connection string is a username, password, host and database name in one line — the keys to your entire database. Here is how they get exposed and how to keep them private. Sep 3, 2026 · 3 min read