When DB2 database connection, C: \ DB2 \ db2prd \ db2_software \ BIN> Db2 connect to PRD
Tip:
SQL1031N The database directory always be found on The indicated file system.
SQLSTATE=58031,
The query, is a question of cataloging, the solution:
C: \ db2 \ db2prd \ db2_software \ BIN> The db2 catalog db PRD on e: \ db2 \ PRD
SQL6028N Catalog database failed because the database "PRD" was not found in the
The local database directory.
Use the catalog command, but the execution of this order is better for a few hours to complete, sometimes can't complete, finished, cataloguing problems appear from time to time, cannot be eradicated, someone had encountered a similar problem, please?
CodePudding user response:
She know to solve the problem?? Or have encountered similar problems,