Informix Error -32125: Current database number out of range.
Cause and resolution
Current database number out of range.
This internal error indicates that the number of concurrent database opens exceeds the limit that OnLine/Secure sets.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-32125 fires when the number of concurrently open databases exceeds the limit OnLine/Secure sets — per the official guidance, this is an internal error.
- The number of concurrent database opens exceeded OnLine/Secure's internal limit, per the official guidance — the direct, only cause.
Solutions / Resolution
- Reduce the number of concurrently open databases in the session, per the official guidance's implication.
- If the limit was not knowingly exceeded, note all circumstances and contact IBM Informix Technical Support, since this is reported as an internal error.
Examples
N/A
No specific triggering statement is documented beyond exceeding the concurrent-database- open limit.
Diagnostic Checks
- Check how many databases the session currently has open, and close unneeded ones.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -32125 in this set yet.
The number of concurrently open databases exceeded OnLine/Secure's internal limit — close unneeded databases.