I recently connected DBeaver to Databricks Lakebase and wanted to share the setup steps along with a couple of troubleshooting issues I encountered.
Since Lakebase is PostgreSQL-compatible, the standard PostgreSQL driver works directly without requiring the Databricks JDBC driver.
Setup Flow
Step 1: Create a Native PostgreSQL Role
Navigate to: Lakebase Project → Branch Overview → Roles & Databases → Add Role
Set Authentication Type to Password. Avoid OAuth for desktop tools because tokens expire every hour.
Step 2: Parse the Connection String
Example connection string: postgresql://role:password@endpoint.azuredatabricks.net/databricks_postgres?sslmode=require
Map these values into DBeaver fields:
- Host: endpoint hostname
- Port: 5432
- Database: databricks_postgres
- Username: role name
- Password: generated password (download the .env file when the role is created, it is shown only once)
Step 3: Configure DBeaver
Create a new connection using the PostgreSQL driver (not the Databricks driver).
SSL Configuration:
- Use SSL: Enabled
- SSL Mode: require
Issues I Encountered
Issue 1: SSL Handshake Failure
Error: PKIX path building failed — unable to find valid certification path to requested target
Fix: Go to DBeaver Preferences → Connections, uncheck "Use Windows trust store", then restart DBeaver.
Issue 2: Host Resolves but Connection Fails
DNS resolved the hostname correctly, but the endpoint was unreachable (Unknown host error).
Root cause: Private Link / VNet routing. The Lakebase endpoint was accessible only through the corporate VPN route. Confirmed with nslookup, which returned the name but no public IP — classic Private Link signature.
Why This Is Interesting
Lakebase brings transactional PostgreSQL workloads closer to the lakehouse ecosystem while aligning with Unity Catalog governance. Using familiar tools like DBeaver lowers the adoption barrier for teams already comfortable with relational database workflows.
Would love to hear if others are testing Lakebase for hybrid OLTP plus analytics use cases.
As