Connect to Database issue

Hello all,

We have setup a ODBC server (PRODDB2T) for DB2 database, I am getting this error while I am trying to connect to the database

Connect to database: ERROR [58031] [IBM][CLI Driver] SQL1031N The database directory cannot be found on the indicated file system. SQLSTATE=58031

ERROR [58031] [IBM][CLI Driver] SQL1031N The database directory cannot be found on the indicated file system. SQLSTATE=58031
[IBM][CLI Driver] SQL1031N The database directory cannot be found on the indicated file system. SQLSTATE=58031

How to resolve?

@Ranveer_S_Thakur

There will be some reasons while connecting the data base,

whether you are selecting incorrect server, or
may be you dont have proper permissions, make sure you need to have proper permission.

and instead of doing these connection
you can use below expression directly it will connect to database, replace your values with existing. Follow below tutorials

2 Likes

@yedukondaluaregala , Thank you for your response. It seems to be a DB2 Driver’s issue, I connected with IT team to resolve the issue by running some catalog command via DB2 command window.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.