Back

Using SmartConnect On-Premise To Connect With ODBC Data Source (PostgreSQL/MySQL)

Published: Apr 23, 2026
Post Author Written by Amit Chaudhari

In this example, we will show you how to create a data source connection to a MySQL and PostgreSQL database using the ODBC connection type in SmartConnect. The same approach can be applied when connecting to other systems such as Oracle, DB2, Sybase, or any application that supports an ODBC driver.

Note: SmartConnect 21 is a 64-bit application and requires a 64-bit driver to be installed, whereas SmartConnect 2018 is a 32-bit application and requires a 32-bit driver.

To verify that the driver is installed correctly, check for it under ODBC Data Sources (64-bit or 32-bit) on the machine, depending on the SmartConnect version.

eOne does not guarantee that this is the correct download path for the driver, so it is recommended to contact the appropriate team to find the installer.

For PostgreSQL: PostgreSQL ODBC Driver Download
For MySQL: MySQL ODBC Driver Download

If there are any changes in credentials or driver versions, it is recommended to update and validate the connection in both options.

Option 1: Using ODBC DSN

For option one, please refer to our previous article: Using SmartConnect to connect to ODBC Data Source.

Note: You must create a DSN entry with the same name on each machine where SmartConnect is installed.

In Windows environments, it is standard practice to use a System DSN instead of a User DSN when the connection needs to be shared across all users or accessed by system-level services. Again, it depends upon your requirements – how would you like to execute the program

Option 2: Using ODBC Driver – ConnectionString

Go to the Connections >> Create >> choose ODBC and then click the (…) ellipsis to view the available options.

If you receive an error such as “This driver has not been installed” even though the driver is present on the machine, it is likely due to a mismatch between the actual driver name and the default driver name in our configuration table.

Run the query below against the SmartConnect database and update the driver name so that it exactly matches what is shown under ODBC Data Sources.

SELECT * FROM [dbo].[ConnectionStringTemplate]

In my case, I installed the PostgreSQL ANSI (x64) driver andMySQL ODBC 9.4 ANSI driver, so I updated the table values accordingly to match the driver names as shown below.
Note: ensure that you only add or update the name—do not change brackets or modify any other default values. For PostgreSQL, i.e., Server=;Port=; or remove hardcode value of any.

To ensure it matches the name with the ODBC Data Source (64-bit).

Destination:

If you want to update data in a MySQL/PostgreSQL database or any non-Microsoft SQL Server database, it requires a bit more technical setup. SmartConnect does not provide a direct ODBC destination type as it does for SQL connections. However, this does not mean that updating an ODBC-enabled database is not possible.

To achieve this, the ODBC driver must support writing data through .NET, and the update process needs to be handled using a Script Task, as outlined in this article: Using SmartConnect to connect to ODBC Data Source.

Go to the Maintenance >> ODBC Data Source >> Add, then click the (…) ellipsis to view the available options.

If you receive an error such as “This driver has not been installed” even though the driver is present on the machine, it is likely due to a mismatch between the actual driver name and the default driver name in our configuration table.

Run the query below against the SmartConnect database and update the driver name so that it exactly matches what is shown under ODBC Data Sources.

SELECT * FROM [dbo].[ConnectionStringTemplate]

In my case, I installed the PostgreSQL ANSI (x86) driver and MySQL ODBC 8.0 ANSI driver, so I updated the table values accordingly to match the driver names as shown below.
Note: ensure that you only add or update the name—do not change brackets or modify any other default values. For PostgreSQL, i.e., Server=;Port=; or remove hardcode value of any.

To ensure it matches the name with the ODBC Data Source (32-bit).

Destination:

If you want to update data in a MySQL/PostgreSQL database or any non-Microsoft SQL Server database, it requires a bit more technical setup. SmartConnect does not provide a direct ODBC destination type as it does for SQL connections. However, this does not mean that updating an ODBC-enabled database is not possible.

To achieve this, the ODBC driver must support writing data through .NET, and the update process needs to be handled using a Script Task, as outlined below.

Have a question? Please reach out to us at support@eonesolutions.com

Feeling stuck? Get the support and guidance you need to help you power through any data challenge

We're on your integration team. Connect with our people and let us know how we can help you.