Use this page to update an existing editable Data Source when its database access details change.Documentation Index
Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
Use this file to discover all available pages before exploring further.
Objective
Keep a Data Source usable without deleting and recreating it. For example, edit a Data Source when an external database password rotates, the host changes after an infrastructure migration, a new schema must be visible, or SSL settings are updated.
When to use
Use this task when:
- credentials changed;
- host, port, or database name changed;
- schema access changed;
- SSL mode or CA certificate changed;
- metadata needs better operator context.
Before you start
Confirm what changed:
- credentials: update Username or Password;
- database location: update Host, Port, or Database Name;
- schema visibility: update the schema list;
- security: update SSL Mode or CA Certificate.
A Data Source update affects future Report generation. Reports already generated stay unchanged.
Step by step
The Password field appears empty for security reasons. Enter a new value only when changing the password. Leaving it blank keeps the current password.
Field guide
| Field | What to change | Example |
|---|---|---|
| Connection Name | Required operator-facing name. Technical field: configName; Console validation is 3 to 100 characters. | production-postgres-readonly |
| Database Type | Database engine used by the connection. Console currently offers POSTGRESQL and MONGODB. | POSTGRESQL |
| Host | Database server address. Changing it changes where Reporter reads future data from. | db-new.example.com |
| Port | Database network port. Valid range is 1 to 65535. | 5432 |
| Database Name | Database Reporter queries through this Data Source. | ledger_reporting |
| Username | Database user used by Reporter. | reporter_readonly |
| Password (optional) | Leave blank to keep the current password. Enter a value only when replacing the stored credential. | New rotated password |
| Schemas | Optional schema list stored as metadata.schemas; entries are trimmed, lowercased, and deduplicated. | public, pix |
| Enable SSL | Toggle SSL settings. Disabling SSL sends ssl.mode = disable. | Disabled after network migration |
| SSL Mode | SSL behavior. Use disable, require, verify-ca, or verify-full. | verify-full |
| CA Certificate | Required when changing SSL to verify-ca or verify-full. Leave blank unless replacing SSL material. | PEM CA certificate |
| Metadata key/value fields | Optional classification data. Only rows with a nonblank key are submitted. | owner = compliance |
Expected result
The Data Source keeps the updated configuration. After a successful test, operators can rely on it for Templates and Reports.
Common errors and care points
Leaving password blank unintentionally
Leaving password blank unintentionally
Leaving Password blank preserves the existing password. Enter a new value only when the credential changed.
Changing host without testing
Changing host without testing
Host and port changes can point Reporter to a different database. Always run Test Connection after saving.
Removing a schema that Templates use
Removing a schema that Templates use
If a Template or filter depends on fields from a schema, removing that schema can break future generation.
Editing when the connection should be retired
Editing when the connection should be retired
If the database is no longer used by any reporting process, delete the Data Source instead of editing it.
Next steps
- Use Test a Data Source Connection after every connection change.
- Use Generate a Report only after the connection is healthy.
- Use Delete a Data Source when the connection is retired.

