DBeaver
Connect DBeaver to a Data Product and query semantic models over the MySQL protocol.
Query your semantic models from DBeaver using the MySQL driver. The semantic layer already handles joins, aggregations, and transformations, so you write plain SQL against the model.
Want to query your data? See the Query Guide for SQL examples, supported syntax, and tips.
Prerequisites
DBeaver
Community or Pro edition. Download DBeaver.
MySQL driver
Driver for MySQL 8 or later. DBeaver prompts you to download it the first time you connect (Step 2).
DataOS username
Your DataOS ID. Used as the connection username.
DataOS API key
Your DataOS API token. Used as the password. Get it from Before you begin.
In the Data Product, go to Activate → Database Client and open the DBeaver guide. Starting there means you copy exact connection values instead of guessing: the in-product guide lists the one-time setup and the precise Server Host, Port, Database, Username, and Password for the selected Data Product.
1. Create the connection
In DBeaver, create a new connection: Ctrl+Shift+N (or Database → New Database Connection).
Pick MySQL (use MySQL 8 or later) and click Next.
Keep Connect by: Host selected and fill in the Main tab:
Server Host
<DATAOS_TCP_HOST>
Port
3306
Database
<tenant>.<data-product-name>
Username
Your DataOS username
Password
Your DataOS API key
2. Download the MySQL driver (first time only)
If this is your first time connecting, DBeaver needs the MySQL driver.
After filling in credentials, click Test Connection.
DBeaver prompts: "You are about to download files for Driver for MySQL 8 and later." Click Download and wait.
If the driver is already installed, confirm the JAR file is present under Driver Settings → Libraries. Click Download there to add it if it's missing.
3. Enable SSL
In the connection settings, click the SSH, SSL, … dropdown on the right and open the SSL tab.
Under Advanced, check Require SSL.
Leave certificate fields (CA Certificate, Client Certificate, Client Private Key) empty unless your environment requires client certificates.
4. Test and finish
Click Test Connection again.
When it passes, click Finish.
5. Query your semantic models
Once connected, the database and its tables (your semantic models) appear in the Database Navigator on the left.
Expand the connection to browse semantic models as tables.
Open a SQL Editor (
Ctrl+]or SQL Editor → Open SQL Editor) and write queries.
See the Query Guide for SQL examples, supported syntax, and tips.
Troubleshooting
Access denied
API token is wrong or expired. Get a fresh one from the Tokens tab and retry.
Unknown database
The <tenant>.<data-product-name> value is off. Copy the exact name from the Data Product page.
Driver not found on test
Click Download when DBeaver prompts. Or add the JAR manually via Driver Settings → Libraries.
SSL handshake error (mysql_clear_password)
Confirm Require SSL is enabled. Leave certificate fields empty unless required.
For the full query reference, including the SQL form, aggregate functions, and filter operators, see the query reference in References.
Last updated
Was this helpful?