skip to main content
Getting Started : Configuring and Connecting on UNIX and Linux : Configuring a Data Source in the System Information File
  

Try DataDirect Drivers Now

Configuring a Data Source in the System Information File

The default odbc.ini file installed in the installation directory is a template in which you create data source definitions on UNIX and Linux platforms. You enter your site-specific database connection information using a text editor. Each data source definition must include the keyword Driver=, which is the full path to the driver.
The following examples show the minimum connection string options that must be set to complete a test connection, where xx represents iv for 32-bit or dd for 64-bit drivers, and yy represents the extension. The values for the options are samples and are not necessarily the ones you would use.
[ODBC Data Sources]
Apache Cassandra=DataDirect 8.0 Apache Cassandra Driver
[Apache Cassandra]
Driver=ODBCHOME/lib/xxcsndr28.yy
HostName=CassandraServer
KeyspaceName=CassandraKeyspace2
PortNumber=9042
SchemaMap=/home/users/jsmith/Progress/DataDirect/Cassandra_Schema/CassandraServer.config
Connection Option Descriptions:
HostName: Either the name or the IP address of the server to which you want to connect.
KeySpaceName: The name of the keyspace to which you want to connect. The default is system.
PortNumber: The port number of the server listener. The default is 9042.
SchemaMap: The name and location of the configuration file where the relational map of native data is written. The driver either creates or looks for this file when connecting to the database. The default is:
users_home_directory/Progress/DataDirect/Cassandra_Schema/host_name.config
where:
users_home_directory
is the user's home directory.
host_name
is the value specified for the HostName connection option.
See "Schema Map" for details.