标签: db2-connect

连接到 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万
查看次数

pecl安装ibm_db2失败

我需要安装ibm_db2扩展名以与db2建立php连接。所以我用过pecl。但这会产生错误。

$ pecl install ibm_db2
Run Code Online (Sandbox Code Playgroud)

当我运行此命令时,发生以下错误。

.....
checking      in /home/db2inst1/sqllib/lib64...
checking      in /home/db2inst1/sqllib/lib32... found
checking for DB2 CLI include files in default path... checking in /home/db2inst1/sqllib... not found
configure: error: Please reinstall the DB2 CLI distribution
ERROR: `/tmp/pear/temp/ibm_db2/configure --with-IBM_DB2=/home/db2inst1/sqllib' failed
Run Code Online (Sandbox Code Playgroud)

请帮忙。

db2 db2-connect

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

如何更改默认密码

我们在PCI扫描中收到"IBM DB2 Universal Database Known Default Password Vulnerability"警报.要解决这个问题,我们应该更改DB2默认密码.

DBA的任何人都可以帮助我们吗?

有关详细信息,请参阅http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2001-0051

db2 db2-connect db2-400 db2-luw

1
推荐指数
1
解决办法
6384
查看次数

标签 统计

db2-connect ×3

db2 ×2

db2-400 ×1

db2-luw ×1