Connect an ODBC client to Streambased
Open Database Connectivity (ODBC) is a protocol that allows applications to access data from a database. It connects applications to data sources in databases. Let's bring some real-time data.
We have used RazorSQL client for this tutorial. Other ODBC clients will have similar setup steps. However please refer to the documentation of your application to connect via ODBC.
Prerequisites:
A running Streambased instance, for instructions see here
A RazorSQL deployment. This can be downloaded here
Step 1: Download a driver
Streambased is 100% compatible with Trino ODBC drivers. these can be obtained here
Step 2: Configure the driver
Open the ODBC data Source application from the windows start menu
Navigate to:
User DSN -> Add... -> Simba Trino ODBC Driver
Enter the following basic configurations:
Data Source Name
streambased (or any name meaningful to you)
Authentication Type
Basic
Host
[server host]
Port
[server port]
Catalog
kafka
Schema
streambased
Click
OK
Click
Test…
to confirm the details are correct and a connection can be established.
By default server port
is 8080 and server host
is the name of the host on which the docker instance has been launched.
Step 3: [RazorSQL specific] Configure the client
Open RazorSQL and:
Click
Add Connection Profile
and select the OTHER database type
Select the driver source named streambased (or other name specified in step 3) and click
CONNECT
Step 4: Run some queries
When connected a SQL editor will launch, happy querying.
Last updated