Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
Simplest is
ibm_db_dbi.[p]connect("DATABASE=*LOCAL")
ibm_db_dbi.connect(dsn=None, database='*LOCAL', user=None, password=None)
# connect has a bug where you have to specify dsn=None currently
ibm_db_dbi.pconnect(database='*LOCAL', user=None, password=None)
One of these days, I'll get around to adding a default for dsn on
connect() and setting user and password defaults to None instead of empty
strings (Pull requests welcome). Then you could do:
ibm_db_dbi.connect(database='*LOCAL')
if you wanted.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.