Informix Error -26470: The database specified ('database name') is not associated with the trusted context.
Cause and resolution
The database specified ('database name') is not associated with the trusted context.
Specify the correct database for the trusted context associated with the current trusted connection or establish a regular connection to the database.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26470 fires when a trusted connection's database isn't the one associated with the trusted context — per the official guidance.
- The connected database isn't associated with the trusted context, per the official guidance — the direct, only cause.
Solutions / Resolution
- Specify the correct database for the trusted context associated with the current trusted connection, per the official guidance, or
- Establish a regular (non-trusted) connection to the database instead, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a database/trusted-context mismatch.
Diagnostic Checks
- Check which database the trusted context is associated with, and connect to that database, or use a regular connection.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -26470 in this set yet.
The connected database wasn't associated with the trusted context — connect to the associated database, or use a regular connection.