Error connecting 58031 to the DB2 database

I created a database in DB2. It worked until yesterday, but now I get the following error when trying to connect to the database:

[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 

What is the cause of the error and how to fix it?

+4
source share
2 answers

See if the database folder in which your actual database files exist has been renamed or moved.

+1
source

This may be a license issue. An attempt to reinstall the license, if any.

-1
source

Source: https://habr.com/ru/post/1383824/


All Articles