我正在尝试将ColdFusion应用程序连接到DB2 ODBC DSN。
这是我的错误消息:
Connection verification failed for data source: <DSN NAME>
java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket][IBM][CLI Driver] SQL30082N Attempt to establish connection failed with security reason "24" ("USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001
The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket][IBM][CLI Driver] SQL30082N Attempt to establish connection failed with security reason "24" ("USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001
我在运行ColdFusion的服务器上安装了DB2客户端工具。我已经验证了凭据是否正确。
答案 0 :(得分:0)
我不是DB2的人,但您是否看过位于此处的Coldfusion DB2 Universal Driver文档? http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=datasources_ADV_MJS_07.html
根据您的评论,您正在使用ODBC Socket。因此,虽然这不是您要求的1比1,但它可能有用:将Solaris配置为DB2 ODBC http://kb2.adobe.com/cps/171/tn_17188.html
要记住的另一件事是DB2仅在CF Enterprise和Developer Edition中受支持。 http://www.adobe.com/products/coldfusion/systemreqs/
答案 1 :(得分:0)