ODBC drivers¶
The Replicator Service connects to every source and destination through an ODBC driver on the Stelo VM: the computer where the Replicator Service runs (on the Stelo VM, the same server as Stelo Capture). SQDR installs the drivers for Db2 and a few other databases; for the others, you install the database vendor's driver before you create the source or destination.
The Capture Agents don't use these drivers: Stelo Capture includes the JDBC drivers they connect to the sources with.
What SQDR installs¶
| Driver | Installed with SQDR | Use it for |
|---|---|---|
| StarSQL | Yes, licensed with SQDR | Db2 for i, Db2 for LUW and Db2 for z/OS, including the Stelo Capture staging databases and a Db2 control database. |
| SQDR bundled drivers (the SQDR ODBC Drivers package) | Yes, licensed with SQDR | Oracle (recommended for destinations), Informix, Amazon Redshift and text files. |
| SQDR Salesforce driver | On Windows, in the optional SQDR_ODBC_XE package (see Salesforce) | Salesforce. |
The bundled package also has drivers for SQL Server, MySQL (MySQL Enterprise only) and PostgreSQL. For those databases, Stelo recommends the vendor's driver (see Which driver to choose).
What you install¶
Install the driver for each database you use that SQDR doesn't cover:
| Database | Driver to install on the Stelo VM |
|---|---|
| SQL Server, Azure SQL | Microsoft ODBC Driver 18 for SQL Server (recommended) or 17. See Move to ODBC Driver 18. |
| Oracle, as a source | Oracle Instant Client with its ODBC package (see The Oracle ODBC driver). As a destination, the bundled driver needs nothing installed. |
| MySQL | MySQL Connector/ODBC 8.0, 8.4 or 9.5. |
| MariaDB | The MariaDB ODBC driver (MariaDB Connector/ODBC). |
| SingleStore | The SingleStore ODBC driver. |
| PostgreSQL, AlloyDB, EDB | psqlODBC, the PostgreSQL ODBC driver (64-bit). |
| Snowflake | The Snowflake ODBC driver. A programmatic access token needs version 3.8.0 or later. |
| Databricks, Apache Spark | The Databricks ODBC Driver, or the Simba Spark ODBC Driver. |
| Google BigQuery | The Simba ODBC Driver for Google BigQuery (64-bit). |
| Exasol, SAP HANA, Tibero, Actian PSQL | The vendor's ODBC driver (for SAP HANA, HDBODBC). |
Alternatives you can install instead of a driver SQDR includes, for example a driver your organization already standardizes on: the IBM i Access ODBC Driver or the IBM Db2 ODBC driver for Db2 (with a Db2 Connect license where IBM requires one), and the IBM Informix ODBC driver (Informix Client SDK) for Informix.
No driver: Microsoft Fabric, Kafka and Amazon S3 Tables destinations have no ODBC connection; they're set up on the wizard's Connector step (see ODBC and Java connectors). Snowflake, Databricks and BigQuery destinations also use a Java connector, but need their ODBC driver too: the Replicator Service uses it to create the tables.
Install a driver¶
- Check the database and its drivers in Databases.
- Install the driver's 64-bit version on the Stelo VM, following the vendor's instructions. If SQDR runs on a server of its own, install it there, not on the Stelo VM.
- Restart the Replicator Service so that it loads the driver (see "Specified driver could not be loaded").
- Create the source or destination: choose ODBC Driver, the driver and its template (see Connection strings). A driver installed while the wizard was open appears when you reopen it.
Docker
The container includes the drivers most sources and destinations need (see ODBC drivers in the container). Don't install drivers in the container: the change is lost when the container is recreated. Ask Stelo Support if you need one that isn't included.
Related¶
- Databases
- Connection strings
- Other databases: a driver for a database that isn't listed