
- #Datadirect odbc driver for sql server how to#
- #Datadirect odbc driver for sql server drivers#
Truststore : Specify the path to the directory that contains the truststore file and the truststore file name to be used when SSL is enabled e.g. PortNumber : The port number of the server listener. HostName : The name or the IP address of the server to which we want to connect. If set to 1 (SSL), data is encrypted using the SSL protocols specified in the Crypto Protocol Version connection option. EncryptionMethod : This defines the method which the driver uses to encrypt data sent between the driver and the database server.If it is set to 0 (No Encryption), data is not encrypted. Azure SQL Database, Azure database for PostgreSQL.ĭescription of some of the attributes which we would edit in the default odbc.ini file are: By default, the odbc.ini file is installed in "/opt/sas/viya/config/etc/SASEventStreamProcessingEngine/default" on the ESP server pod.You must configure this file so that ESP can access ODBC data sources i.e. This file is activated by the environment variable ODBCINI, and is required by all ODBC applications. We would be using odbc.ini file to configure the Event Stream processing (ESP) database connector.The odbc.ini file is the configuration file that stores the definitions for all the ODBC DSNs in a Linux environment.These ODBC DSNs are defined by specifying values for certain DSN parameters. This section explains the process to configure the database connector using odbc.ini file and to set up required environment variables. Azure SQL Database or Azure Database for PostgreSQL. SAS ESP on Viya 4 (2020.1.2) and above on Linux environment. Learn what is the configuration file “odbc.ini” and what are the important parameters to be considered. #Datadirect odbc driver for sql server how to#
Learn how to configure the connector using the configuration file e.g.Learn how to use database connector with DataDirect drivers.In this tutorial we are connecting to databases on Azure, these steps could also be utilized to connect to an on-premise database
#Datadirect odbc driver for sql server drivers#
This repository will explain how to utilize the Database Connector with DataDirect Drivers in ESP to read and write data to relational databases like Microsoft SQL Server and PostgreSQL on Azure.Ĭurrently, the DataDirect ODBC drivers are only certified for the following databases: Oracle, MySQL, IBM DB2, Greenplum, PostgreSQL, SAP Sybase ASE, Teradata, Microsoft SQL Server, IBM Informix and Sybase IQ. The database connector in SAS Event Stream Processing (ESP) can be utilized in two ways: with DataDirect Drivers or with SAS Threaded Kernel Drivers. Steps to run project for reading and writing data to Microsoft Azure Database for PostgreSQL.Steps to run project for reading and writing data to Microsoft Azure SQL Database.Steps to connect to Azure Database for PostgreSQL.Steps to connect to Microsoft Azure SQL Database.How to Integrate ESP with Relational Databases using DB Connector Table of Contents