skip to main content
Using the ODBC Client : Specifying ODBC Connection Attributes : Connection Retry Count
 

Connection Retry Count

Attribute

ConnectionRetryCount (CRC)

Configuration

Client/server configuration only

Description

Specifies the number of times the driver tries to connect to the primary server, and if configured, to the alternate servers after the initial unsuccessful attempt.
If a connection is not established during the retry attempts, the ODBC Client returns an error that is generated by the last server to which it tried to connect.
This attribute and the ConnectionRetryDelay connection string attribute, which specifies the wait interval between attempts, can be used in conjunction with connection failover.

Valid Values

0 | x
where x is a positive integer from 1 to 65535.
If set to 0, the ODBC Client does not try to connect after the initial unsuccessful attempt.

Default

0

GUI Tab

Failover tab