Informix Error -25590: Authentication error. This error indicates that an invalid user ID or password was used to connect to the database server. Provide a valid user ID and password. This error can also occur if the CSM option is enabled on the database server side but disabled on the client application side, or vice versa. If you want to use a CSM, make sure that the CSM option is set in the sqlhosts file for both the database server and client application.
Cause and resolution
Authentication error. This error indicates that an invalid user ID or password was used to connect to the database server. Provide a valid user ID and password. This error can also occur if the CSM option is enabled on the database server side but disabled on the client application side, or vice versa. If you want to use a CSM, make sure that the CSM option is set in the sqlhosts file for both the database server and client application.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25590 fires when authentication to the database server fails — per the official guidance.
- An invalid user ID or password, per the official guidance — the first named cause.
- A CSM (Communication Support Module) option mismatch between the server and client, per the official guidance — enabled on one side but disabled on the other.
Solutions / Resolution
- Provide a valid user ID and password, per the official guidance.
- Make sure the CSM option is set consistently in
sqlhostsfor both the database server and client application, per the official guidance, if a CSM is being used.
Examples
N/A
No specific triggering statement is documented beyond an authentication failure.
Diagnostic Checks
- Check the user ID/password being supplied, and check for a CSM configuration
mismatch between client and server
sqlhostsentries.
Related Errors / Related Topics
- -25561 — "Invalid authentication type." A related authentication error, on an internal invalid-type condition rather than a credential or CSM mismatch.
Authentication failed due to an invalid credential or a CSM configuration mismatch — check both.