我无法连接 ColdFusion,并收到以下错误。
Connection verification failed for data source: DB2Test
java.sql.SQLException: [Macromedia][DB2 JDBC Driver]Bind process is not active. Please ensure that the user has permissions to create packages. Packages cannot be created in an XA Connection.
The root cause was that: java.sql.SQLException: [Macromedia][DB2 JDBC Driver]Bind process is not active. Please ensure that the user has permissions to create packages. Packages cannot be created in an XA Connection.
“可能”与通过 ODBC 使用 MS Powerflow 时的问题相同,需要启用访问 Db2 的用户才能创建包。
解决方案: 将数据库上的 BINDADD、DBADM 授予用户;
作为管理员,不要忘记相应地撤销权限,例如。和 Db2 撤销用户权限 或
撤销用户对数据库的数据访问、访问控制;