When sending query from Toad to Optimizer, the following error occurs:
"Failed to connect to database. [IBM] [CLI Driver] SQL1031N The database directory cannot be found on the indicated file system. SQLSTATE=58031" Connection was made successfully in Toad.
From Toad, use the 'DB2 Client Configuration Wizard' button in the 'Create New Connection' window, to catalog the database and create an alias. The alias will then be used in SQL Optimizer.
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center