Informix Error -9466: Must specify password=value in the URL.
Cause and resolution
Must specify password=value in the URL.
Make sure the JDBC URL contains the password for the desired user session.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-9466 fires when a JDBC URL is missing the password — per the official guidance.
- A JDBC URL with no
password=valueparameter, per the official guidance — the direct, only cause.
Solutions / Resolution
- Make sure the JDBC URL contains the password for the desired user session, per the official guidance.
Examples
A JDBC URL missing the password
"jdbc:informix-sqli://host:port/db:INFORMIXSERVER=srv;user=myuser"
-- -9466: no password=value
Corrected
"jdbc:informix-sqli://host:port/db:INFORMIXSERVER=srv;user=myuser;password=secret"
Diagnostic Checks
- Check the JDBC URL for a
password=valueparameter, and add it if missing.
Related Errors / Related Topics
- -9463 — "Cannot load the specified IfxProtocol class: (%s)." A related JDBC-URL validity error, on an invalid protocol class rather than a missing password.
- -9464 — "Must specify user=name in the URL." A related JDBC-URL validity error, on a missing username rather than a missing password.
- -9465 — "Must specify dbname in the URL." A related JDBC-URL validity error, on a missing database name rather than a missing password.
The JDBC URL was missing the password — add a password=value parameter.