Dsn Oracle Odbc Drivers For Mac

Posted on by
  1. Dsn Oracle Odbc Drivers For Mac Os
  2. Dsn Oracle Odbc
  3. Oracle Odbc Drivers Download

If your application requires an ODBC interface, install the Connector/ODBC driver. On macOS, the ODBC Administrator, based on the iODBC manager, provides easy administration of ODBC drivers and configuration, allowing the updates of the underlying iODBC configuration files through a GUI tool. The Oracle ODBC Driver Configuration window opens. Specify the following information in the Oracle ODBC Driver Configuration window: In the Data Source Name field, enter a name of your choice to identify the data source. If your DBA has supplied a common DSN for use across the enterprise, enter it here. Oracle doesn't provide a Mac ODBC driver. If Microsoft doesn't ship an ODBC driver for Oracle on the Mac, you'll have to look for third-party tools. I'd start with Merant, since they produce a lot of ODBC drivers. Justin Cave ODBC Development. You have to add the Database tns entries in the tnsnames.ora file in the same linux serer with name ASPD that you have used for your ODBC dsn name above. From the ODBC Administrator dialog, choose either the User DSN or System DSN tab and click Add. Select the Connector/ODBC driver and click OK. You will be presented with the Data Source Name (DSN) dialog. Enter the Data Source Name and an optional Description for the DSN.

-->

The ODBC drivers for Linux and macOS support AlwaysOn Availability Groups. For more information about AlwaysOn Availability Groups, see:

You can specify the availability group listener of a given availability group in the connection string. If an ODBC application on Linux or macOS is connected to a database in an availability group that fails over, the original connection is broken and the application must open a new connection to continue work after the failover.

The ODBC drivers on Linux and macOS iterate sequentially through all IP addresses associated with a DNS hostname if you are not connecting to an availability group listener, and multiple IP addresses are associated with the hostname.

If the DNS server's first returned IP address is not connectable, these iterations can be time consuming. When connecting to an availability group listener, the driver attempts to establish connections to all IP addresses in parallel. If a connection attempt succeeds, the driver discards any pending connection attempts.

Note

Because a connection can fail due to an availability group failover, implement connection retry logic; retry a failed connection until it reconnects. Increasing connection timeout and implementing connection retry logic increases the chance of connecting to an availability group.

Connecting With MultiSubnetFailover

Always specify MultiSubnetFailover=Yes when connecting to a SQL Server 2012 (11.x) availability group listener or SQL Server 2012 (11.x) Failover Cluster Instance. MultiSubnetFailover enables faster failover for all Availability Groups and failover cluster instance in SQL Server 2012 (11.x). MultiSubnetFailover also significantly reduces failover time for single and multi-subnet AlwaysOn topologies. During a multisubnet failover, the client attempts connections in parallel. During a subnet failover, the driver aggressively retries the TCP connection.

The MultiSubnetFailover connection property indicates that the application is being deployed in an availability group or Failover Cluster Instance. The driver tries to connect to the database on the primary SQL Server instance by trying to connect to all the IP addresses. When connecting with MultiSubnetFailover=Yes, the client retries TCP connection attempts faster than the operating system's default TCP retransmit intervals. MultiSubnetFailover=Yes enables faster reconnection after failover of either an AlwaysOn Availability Group or an AlwaysOn Failover Cluster Instance. MultiSubnetFailover=Yes applies to both single- and multi-subnet Availability Groups and Failover Cluster Instances.

Use MultiSubnetFailover=Yes when connecting to an availability group listener or Failover Cluster Instance. Otherwise, your application's performance can be negatively affected.

Note the following when connecting to a server in an availability group or Failover Cluster Instance:

For
  • Specify MultiSubnetFailover=Yes to improve performance when connecting to a single subnet or multi-subnet Availability Group.

  • Specify the availability group listener of the availability group as the server in your connection string.

  • You cannot connect to a SQL Server instance configured with more than 64 IP addresses.

  • Both SQL Server Authentication or Kerberos Authentication can be used with MultiSubnetFailover=Yes without affecting the behavior of the application.

  • You can increase the value of loginTimeout to accommodate for failover time and reduce the application's connection retry attempts.

  • Distributed transactions are not supported.

If read-only routing is not in effect, connecting to a secondary replica location in an availability group fails in the following situations:

  1. If the secondary replica location is not configured to accept connections.

  2. If an application uses ApplicationIntent=ReadWrite and the secondary replica location is configured for read-only access.

A connection fails if a primary replica is configured to reject read-only workloads and the connection string contains ApplicationIntent=ReadOnly.

Specifying Application Intent

The keyword ApplicationIntent can be specified in your connection string. The assignable values are ReadWrite or ReadOnly. The default is ReadWrite.

When ApplicationIntent=ReadOnly, the client requests a read workload when connecting. The server enforces the intent at connection time, and during a USE database statement.

The ApplicationIntent keyword does not work with legacy read-only databases.

Targets of ReadOnly

When a connection chooses ReadOnly, the connection is assigned to any of the following special configurations that might exist for the database:

    • A database can allow or disallow read workloads on the targeted Always On database. This choice is controlled by using the ALLOW_CONNECTIONS clause of the PRIMARY_ROLE and SECONDARY_ROLE Transact-SQL statements.

Cygwin searching for mintty. If none of those special targets are available, the regular database is read from.

The ApplicationIntent keyword enables read-only routing.

Read-Only Routing

Read-only routing is a feature that can ensure the availability of a read-only replica of a database. To enable read-only routing, all of the following apply:

  • You must connect to an Always On Availability Group availability group listener.

  • The ApplicationIntent connection string keyword must be set to ReadOnly.

  • The Availability Group must be configured by the database administrator to enable read-only routing.

Multiple connections each using read-only routing might not all connect to the same read-only replica. Changes in database synchronization or changes in the server's routing configuration can result in client connections to different read-only replicas. You can ensure that all read-only requests connect to the same read-only replica. Ensure this sameness by not passing an availability group listener to the Server connection string keyword. Instead, specify the name of the read-only instance.

Read-only routing may take longer than connecting to the primary. The longer wait is because read-only routing first connects to the primary, and then looks for the best available readable secondary. Due to these multiple steps, you should increase your login timeout to at least 30 seconds.

ODBC Syntax

Two ODBC connection string keywords support AlwaysOn Availability Groups:

  • ApplicationIntent

    Super smash bros. ultimate for mac os. Super Smash Bros. Ultimate for MacBook allows you to use different items to attack your enemies. It’s fun to play Super Smash Bros. Each character possesses a strong Final Smash attack. It can be performed by getting a Smash Ball item or by filling up a special meter. Feb 17, 2019 Little Mac is a returning fighter in Super Smash Bros. His moveset appears to be mostly the same as the previous game, but his Neutral-Special attack can now be pivoted before unleashed.

  • MultiSubnetFailover

Dsn Oracle Odbc Drivers For Mac Os

For more information about ODBC connection string keywords, see Using Connection String Keywords with SQL Server Native Client.

The equivalent connection attributes are:

  • SQL_COPT_SS_APPLICATION_INTENT

  • SQL_COPT_SS_MULTISUBNET_FAILOVER

For more information about ODBC connection attributes, see SQLSetConnectAttr.

An ODBC application that uses AlwaysOn Availability Groups can use one of two functions to make the connection:

FunctionDescription
SQLConnect FunctionSQLConnect supports both ApplicationIntent and MultiSubnetFailover via a data source name (DSN) or connection attribute.
SQLDriverConnect FunctionSQLDriverConnect supports ApplicationIntent and MultiSubnetFailover via DSN, connection string keyword, or connection attribute.

See Also

The Exasol ODBC driver for Linux/Unix is designed to run on as many distributions as possible. However, it is tested on the following systems:

  • Linux
    • Red Hat / CentOS 7 (x64)
    • Red Hat / CentOS 6 (x86/x64)
    • Debian 8 (x86/x64)
    • Ubuntu 16.04 LTS (x86/64)
    • Ubuntu 14.04 LTS (x86/64)
    • SUSE Linux Enterprise Server 12 (x64)
    • SUSE Linux Enterprise Desktop 12 (x64)
    • SUSE Linux Enterprise Server 11 (x86/x64)
    • openSUSE Leap 42.2 (x64)
  • macOS
    • macOS El Capitan (10.11)
    • macOS Sierra (10.12)
    • macOS Mojave (10.14)
    • macOS Catalina (10.15)

The ODBC driver works on Mac OS X with the driver manager iODBC in two variations (depending on the application):

  • As system library (included in the system)
  • As framework in version 3.52.7 (for more information, see www.iodbc.org)
  • Free BSD
    • FreeBSD 11.0 (64Bit)
    • FreeBSD 10.3 (64Bit)

Download and Install the ODBC Driver

  1. Go to the Exasol Downloads page and from Download ODBC Driver section, download the ODBC Driver according to your OS (Unix, Linux, or macOS). For example, for Linux, select EXASOL_ODBC-<version>.tar.gz.
  2. Run the following commands to extract the package in a directory:
    • For Linux/macOS: tar -xzf EXASOL_ODBC- <version>.tar.gz
    • For Solaris: gtar -xzf EXASOL_ODBC-<version>.tar.gz

For configuration information, check the readme.txt file included in the driver package.

Configure ODBC Driver and Data Sources

To configure the driver, run the config_odbc program to generate the odbc.ini file. Change into the install directory and then run config_odbc as shown below:

Running the config_odbc performs the following operations:

  • Scans the system for available ODBC driver manager
  • Check for missing (3rd party) packages
  • Creates an odbc.ini config file
  • Creates a wrapper script to start applications
  • Tests the database connectivity
  • Suggests the correct DSN an application needs based on the driver manager it uses

The generated odbc.ini file contains DSN entries for all supported ODBC driver managers. To further configure the options in the odbc.ini file, see Connecting through Connection Strings.

The config_odbc program also allows non-interactive use. For details, run the following command:

Dsn Oracle Odbc

Known Issues

Oracle Odbc Drivers Download

IssueReasonSolution
Config_odbc does not startSome operating system make not have the full Perl installation.

Install a full Perl system and try again.

Fix: minimal Debian
apt-get install perl
Fix: minimal CentOS 7
yum install perl-Digest-MD5
Error 'Data source name not found, and no default driver specified'
  • Wrong version of the unixODBC is used because of multiple installation instances.
  • The unixODBC driver manager is using the wrong odbc.ini file.
  • Specify the correct version of the unixODBC through isql-version.
  • Specify the correct odbc.ini file through the environment variable ODBCINI.

Error 'Invalid UTF-8 character in input'

Wrong locale defined in the LC_ALL variable.

Define a locale in the LC_ALL variable that can display the characters properly.

Missing or wrong characters in output of console or your ODBC application

Incompatible locale defined in the odbc.ini file.

Set the environment variables LC_CTYPE and LC_NUMERIC or the parameters CONNECTIONLCCTYPE and CONNECTIONLCNUMERIC in the odbc.ini file to a locale that can display the characters.

Applications using the DataDirect driver manager need UTF-8 locales.