ColdFusion DSN 通过 ODBC 与 DB2

发布于 2024-08-23 18:39:30 字数 670 浏览 1 评论 0原文

我正在尝试将 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 客户端工具。我已验证凭据正确。

I'm attempting to connect a ColdFusion application to a DB2 ODBC DSN.

Here's my error message:

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 

I've installed DB2 client tools on the server ColdFusion runs on. I've verified the credentials are correct.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

浅忆 2024-08-30 18:39:30

我不是 DB2 专家,但您看过位于此处的 Coldfusion DB2 通用驱动程序文档吗?
http://livedocs.adobe.com/coldfusion/ 8/htmldocs/help.html?content=datasources_ADV_MJS_07.html

根据您的评论,您正在使用 ODBC 套接字。因此,虽然这不是您所要求的一对一的内容,但它可能有一些有用的东西:Configure Solaris to DB2 ODBC
http://kb2.adobe.com/cps/171/tn_17188.html

另一件需要记住的事情是,DB2 仅在 CF Enterprise 和 Developer Edition 中受支持。 http://www.adobe.com/products/coldfusion/systemreqs/

I'm not a DB2 guy, but have you seen the Coldfusion DB2 Universal Driver doc located here?
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=datasources_ADV_MJS_07.html

Based on your comments, you're using ODBC Socket instead. So while this isn't 1 to 1 what you're asking, it might have something useful: Configure Solaris to DB2 ODBC
http://kb2.adobe.com/cps/171/tn_17188.html

The other thing to keep in mind is that DB2 is only supported in CF Enterprise and Developer Editions. http://www.adobe.com/products/coldfusion/systemreqs/

缘字诀 2024-08-30 18:39:30

http://kb2.adobe.com/cps/801/80121c8.html

这个 CFMX 文档最终成为我们让它工作的内容。

感谢SO为我们指明了正确的方向。

http://kb2.adobe.com/cps/801/80121c8.html

This CFMX doc ended up being what we went with to get it working.

Thanks to SO for pointing us in the right direction.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文