My connections look like this. db2conn = db2.connect("DATABASE=*LOCAL"). Try adding the DATABASE= portion to yours.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.