java连接db2数据库 sqlcode=-1391怎么解决?
关注者
4
被浏览
3,313
4 个回答
IBM的文档是很详细,并且很好查的。
以下是我google时用的关键字
DB2 SQLCODE=-1391
前三条结果是其他外国程序员在各种社区问的问题,不用看直接跳过,第一页一定有IBM官方文档。
果然,第四条就是:
然后ctrl+f 输入1391
SQL1391N The database is already in use by another instance of the database manager.
Explanation
The request failed because the database is in use by another instance of the database manager (a database may only be used by one instance.) This may be caused by attempting to access a database located on a mounted file system accessible to another instance located on another machine.
This can also occur if you have an open connection (via SNA) to a database and the database manager was brought down abnormally.
User response