skip to main content
Using the Driver : Using Failover : Configuring Failover-Related Options : A Connection String Example

Try DataDirect Drivers Now
A Connection String Example
The following connection string configures the driver to use connection failover in conjunction with some of its optional features.
SID=Accounting, HostName=;
Specifically, this connection string configures the driver to use two alternate servers as connection failover servers, to attempt to connect four additional times if the initial attempt fails, to wait five seconds between attempts, to try the primary and alternate servers in a random order, and to attempt reconnecting on new connections only. The additional connection information required for the alternate servers is specified in the data source AcctOracleServer.