Connect to a DB2 Database

Create DSN and use this connection string “Driver={IBM DB2 ODBC DRIVER};dbalias=DataBaseName;uid=YourUID;pwd=YourPassword”. It will work.

image