on-internet
← Community

How do I connect to DB2 via ibm_db python package

Stack Overflow ·

I'm trying to connect with an on-prem DB2 database via python but have been unsuccessful over the past few days. I am hoping the community can help me decipher error messages and offer help from their experience. My goal is to install the Python ibm_db library on my Windows 7 laptop and connect to our DB2 instance I cannot get the ibm_db.connect() method to recognize system DSN or user DSN that are known good (I use them to connect to DB2 via Sql Server Management Studio (SSMS)) I get the below errors from various connection combinations (shown below) but I have not found any reference that sa

Comments

Sign in or sign up to comment and upvote.

No comments yet.