RE: Python and passwords

Darren Strong <[email protected]>
Newsgroups gmane.comp.hardware.ibm.midrange
Message-ID <CH3PR11MB818555994DA9295D180F6223D5382@CH3PR11MB8185.namprd11.prod.outlook.com>
Knowing it was possible gave me new searching hope, and I found an example that used ibm_db_dbi instead of the current ibm_db I was using.  Using ibm_db_dbi can connect to the local database without issue, but ibm_db requires explicit connection parms that I could not seem to get to use current user profiles.  Strange thing is that docs say that ibm_db_dbi is a wrapper on top of ibm_db, so that implies its somehow using ibm_db the way I'd like to.


-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org> On Behalf Of Richard Schoen
Sent: Monday, May 11, 2026 2:52 PM
To: [email protected]
Subject: Re: Python and passwords

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Also as of Python 3.13 there is no IBM DB2 functionality, so going with ODBC is the way to go.

That being said I didn't think the DB2 stuff required a user/password either.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard-DiTrGpQEJGItADg8e/3/[email protected]

------------------------------

message: 2
date: Mon, 11 May 2026 17:38:50 +0000
from: Jack Woehr via MIDRANGE-L <[email protected]>
subject: Re: Python and passwords

If you use ODBC your DSN definition in ~/.odbc.ini can include the lines:

System = *LOCAL
UserID = *CURRENT


Jack Woehr
Independent Consulting Programmer

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives at https://archive.midrange.com/midrange-l.

Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.

-- 
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.