Connect a database
For SQL Server, Azure SQL, PostgreSQL and Oracle databases that accept connections from the internet. If the database is inside your company network, use the Gateway.
Before you start
Have these at hand:
- the server address and port;
- the database name (on Oracle, the service name);
- a read-only user and its password;
- clearance, on the database firewall, for LumeDB to connect. The LumeDB team provides the source address.
Create the connection
- Open Connections (see the overview) and click + New connection.
- Choose the database type.
- Give the connection a name. Use something your team will recognize, like ERP · production.
- Fill in the fields for the chosen type:
| Type | Fields |
|---|---|
| SQL Server | Server, Port (usually 1433), Database, User, Password |
| Azure SQL | Server (ends in .database.windows.net), Database, User, Password |
| PostgreSQL | Host, Port (usually 5432), Database, User, Password |
| Oracle | Host, Port (usually 1521), Service name, User, Password |
- Click Save. The connection stays inactive until you activate it.
The password is stored encrypted on the server and isn't shown on screen again.
Test, browse and activate
- In the list, click Test. If it fails, the message says why; the most common causes are in the table below.
- Click Browse and check that the expected schemas and tables show up.
- Click Activate.
Once active, the connection appears on the Source node in Modeling, where you choose the schema and the tables. When the load runs is set in the application pipeline.
If the test fails
| Symptom | What to check |
|---|---|
| It doesn't connect, or takes long and gives up | Address and port; clearance on the database firewall. |
| User or password rejected | Type the password again under Edit; confirm the user exists in that database. |
| It connects, but Browse comes back empty | The user has no read access to the schemas. Ask whoever manages the database for the permission. |
Change the password
Click Edit, type the new password and save. The other fields stay as they are.