INI parameter
|
Overridden with SQL
|
Driver
|
Connection string
|
---|---|---|---|
Client-side:
[Com]
ConnectTimeout=milliseconds or:
Com.Connect parameter with option ‑cmilliseconds
For example:
[Com]
Connect=tcp -c1OOO 1315 |
|
ODBC:
SQL_ATTR_LOGIN_TIMEOUT (in seconds)
SQL_ATTR_LOGIN_TIMEOUT_MS (in
milliseconds, non-standard)
JDBC:
Method (JDBC 2.0)
DriverManger.setLoginTimeout(seconds); Connection property (non-standard) "solid_login_timeout_ms" (milliseconds)
|
-c milliseconds
|
INI parameter
|
Overridden with SQL
|
Driver
|
Connection string
|
---|---|---|---|
Client-side:
[Com]
ClientReadTimeout=milliseconds or:
Com.Connect parameter with option
-rmilliseconds
For example:
[Com]
Connect=tcp -r1000 1315 |
|
ODBC:
SQL_ATTR_CONNECTION_TIMEOUT (in seconds)
SQL_ATTR_CONNECTION_TIMEOUT_MS
(in milliseconds, non-standard)
JDBC:
Non-standard connection property:
"solid_connection_timeout_ms" (milliseconds)
or method:
SolidConnection.setConnectionTimeout() (milliseconds)
|
-r milliseconds
|
INI parameter
|
Overridden with SQL
|
Driver
|
Connection string
|
---|---|---|---|
|
|
ODBC:
SQL_ATTR_QUERY_TIMEOUT (in seconds)
SQL_ATTR_QUERY_TIMEOUT_MS (in milliseconds, non-standard)
|
|