Skip to content

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 ​

  1. Open Connections (see the overview) and click + New connection.
  2. Choose the database type.
  3. Give the connection a name. Use something your team will recognize, like ERP · production.
  4. Fill in the fields for the chosen type:
TypeFields
SQL ServerServer, Port (usually 1433), Database, User, Password
Azure SQLServer (ends in .database.windows.net), Database, User, Password
PostgreSQLHost, Port (usually 5432), Database, User, Password
OracleHost, Port (usually 1521), Service name, User, Password
  1. 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 ​

  1. In the list, click Test. If it fails, the message says why; the most common causes are in the table below.
  2. Click Browse and check that the expected schemas and tables show up.
  3. 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 ​

SymptomWhat to check
It doesn't connect, or takes long and gives upAddress and port; clearance on the database firewall.
User or password rejectedType the password again under Edit; confirm the user exists in that database.
It connects, but Browse comes back emptyThe 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.

LumeDB © Keon Analytics