Informix Error -11018: Data source rejected establishment of connection.
Cause and resolution
Data source rejected establishment of connection.
The data source rejected the establishment of the connection for implementation-defined reasons. Confirm that the password and user ID are correct.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11018 fires when the data source explicitly rejects a connection attempt for implementation-defined reasons — per the official guidance.
- An incorrect password or user ID, per the official guidance — the named, most likely cause.
Solutions / Resolution
- Confirm the password and user ID are correct, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an explicit connection rejection.
Diagnostic Checks
- Verify the user ID and password being passed to the connect call.
Related Errors / Related Topics
- -11015 — "Unable to connect to data source." A related connection-establishment error, about a general inability to connect rather than an explicit rejection.
- -11016 — "Connection in use." A related connection-establishment error, about an exclusive-use conflict rather than an explicit rejection.
- -11017 — "Connection not open." A related connection-state error, about acting on a handle that was never successfully connected.
The data source explicitly rejected the connection, most likely due to bad credentials — verify the user ID and password.