6

我在 DB2 中创建了一个数据库。它一直工作到昨天,但现在尝试连接到数据库时出现以下错误:

[IBM][CLI Driver] SQL1031N  The database directory cannot be 
found on the indicated file system.  SQLSTATE=58031

Explanation: 

The system database directory or local database directory could not be
found. A database has not been created or it was not cataloged
correctly.

The command cannot be processed.

User response: 

Verify that the database is created with the correct path specification.
The Catalog Database command has a path parameter which specifies the
directory where the database resides.

sqlcode: -1031

sqlstate: 58031

错误的原因是什么,我该如何解决?

4

2 回答 2

1

查看实际数据库文件所在的数据库文件夹是否已重命名或移动。

于 2012-01-10T07:35:47.820 回答
-1

这可能是许可证问题。尝试重新安装许可证(如果有)。

于 2013-01-17T01:15:19.263 回答