小编Mon*_*mes的帖子

连接到 DB2 数据库时出现错误 58031

我在 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: …
Run Code Online (Sandbox Code Playgroud)

db2-connect

5
推荐指数
1
解决办法
3万
查看次数

标签 统计

db2-connect ×1