×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Easiest way to connect to the database with Python by far. Connects to the
*LOCAL database using currently running user profile.

I thought this already worked in PTFs currently available?

Aaron Bartell
litmis.com - Services for open source on IBM i


On Fri, Jul 29, 2016 at 1:17 PM, Kevin Adler <kadler@xxxxxxxxxx> wrote:

Well, you guys asked for it and you got it:

kadler@wernstrom:~>python3
Python 3.4.4 (default, Mar 23 2016, 11:07:11)
[GCC 4.8.4] on aix6
Type "help", "copyright", "credits" or "license" for more information.
import ibm_db_dbi

ibm_db_dbi.connect()
<ibm_db_dbi.Connection object at 0x3018480c>

ibm_db_dbi.pconnect()
<ibm_db_dbi.Connection object at 0x30248f2c>

Easiest way to connect to the database with Python by far. Connects to the
*LOCAL database using currently running user profile.


PTFs are coming your way soon (should be available externally within a few
days):

SI61963 (Python 3)
SI61964 (Python 2)

These PTFs also correct issues when retrieving data from timestamp columns
on IBM i 7.2+ that do not have 6 digits of precision (doesn't matter if
it's more or fewer digits, just that it's not 6) and ibm_db version
updated to 2.0.5.5.

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.