Informix Error -11317: Invalid CONNECTDATABASE value specified.
Cause and resolution
Invalid CONNECTDATABASE value specified.
This is an extended message to SQLSTATE value S1000. Functions that can generate this error: SQLBrowseConnect and SQLDriverConnect.
Valid values are YES and NO (not case-sensitive).
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11317 fires when a connect string's CONNECTDATABASE option has an invalid value — per
the official guidance, an extended message on SQLSTATE value S1000, returnable by
SQLBrowseConnect and SQLDriverConnect.
- A
CONNECTDATABASEvalue other thanYES/NO, per the official guidance — the direct, only cause; the value isn't case-sensitive.
Solutions / Resolution
- Set
CONNECTDATABASEtoYESorNO, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an invalid CONNECTDATABASE value.
Diagnostic Checks
- Check the
CONNECTDATABASEvalue in the connect string, and confirm it's exactlyYESorNO.
Related Errors / Related Topics
- -11318 — "Invalid VMBCHARLENEXACT value specified." The same class of invalid connect-string-option error, for a different keyword.
CONNECTDATABASE wasn't set to YES/NO — use one of those two values.