This guide describes the required prerequisistes, installation and configuration steps of the ODBC Linux driver.

This guide describes the installation of the ODBC driver for Centos 7.3. For other operating systems please contact the SQream support team.

1. Prerequisites: Install UnixODBC

Download unixODBC-2.3.4.tar.gz from here:

Install unixODBC based on the instructions:

2. Install the SQream ODBC Driver and Configuration

2.1. Copy the SQream ODBC driver

Copy the file to the directory you want the SQream ODBC driver to reside.
For example:


This is the path and file name you will use in next steps.

2.2. Locate the ODBC configuration files

Use odbcinst to print your ODBC configuration.

odbcinst -j | grep odbc

This shows you the location of the odbcinst.ini and odbc.ini file in your system.
odbcinst.ini = specifies the drivers
odbc.ini = specifies the data sources

For example:

[[email protected] ~]$ odbcinst -j | grep odbc
DRIVERS............: /etc/odbcinst.ini
SYSTEM DATA SOURCES: /etc/odbc.ini
USER DATA SOURCES..: /home/sqream/.odbc.ini

2.3. Add the SQream DB driver as a data provider for unixODBC

Edit the odbcinst.ini file you found in the previous step.

Verify that the odbcinst.ini file contains the following lines:

Driver={path of}
Setup={path of}

TraceFile={path and file name of the trace file}

For example:



2.4. Add a DSN for your SQream DB database

Edit the odbc.ini file and add the ODBC DSN information.
Verify that the odbc.ini file contains the following lines:

[{DSN name}]
Driver={path of}
Server={IP address of the SQream server}
Port={Listener port of SQream}
Database={SQream database to connect to}
User={SQream DB user}
Password={password of the above SQream DB user}
Cluster={true | false}
ssl={true | false}

For example:


3. Test the SQream ODBC Driver

3.1. Use the ISQL utility to test the driver

ISQL is a unixODBC command-line interactive SQL tool and can be used as a tester. No additional installation is required (UnixODBC is a pre-requisite for SQream).

On the command line, specify the DSN name:

isql [DSN name]


isql -k DSN=[DSN name]

For the above example this would be:

isql sqreamOn251

Copyright © 2010-2018. All rights reserved.

This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchant- ability or fitness for a particular purpose.

We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document.

This document may not be reproduced in any form, for any purpose, without our prior written permission.