我在 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) 我需要安装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)
请帮忙。
我们在PCI扫描中收到"IBM DB2 Universal Database Known Default Password Vulnerability"警报.要解决这个问题,我们应该更改DB2默认密码.
DBA的任何人都可以帮助我们吗?
有关详细信息,请参阅http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2001-0051