DB2 fixed an unpredictable hang/take a lot of time when create a DB Connection.

I used a new laptop to execute some .NET Code + DB2 11.5.8 Database via ODBC / DB Factories / IBM DB2 .NET Data Provider) I found unpredictable hang or take a lot of time (about 20 minutes ++) to create a DB Connection.

Solution

  • Check Windows PATH variable container DB2 Bin Path (Default Path "C:\Program Files\IBM\SQLLIB\BIN"
  • if DB2 Path variable, not exist then add DB2 Bin Path

  • Reboot Machine

Reference


Discover more from naiwaen@DebuggingSoft

Subscribe to get the latest posts to your email.