wmjie / ibm-db

Automatically exported from code.google.com/p/ibm-db
0 stars 0 forks source link

ibm_db connection problems #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
This is how my code looks

import ibm_db

dsn = "DRIVER={IBM DB2 CLI 
DRIVER};DATABASE=testdb;HOSTNAME=srtidev;PORT=50000;PROTOCOL=TCPIP;UID=XYZ;PWD=A
BC;"
conn=ibm_db.connect(dsn,'','')

What is the expected output? What do you see instead?
I get the following error

Traceback (most recent call last):
  File "convert.py", line 5, in <module>
    conn=ibm_db.connect(dsn,'','')
SystemError: error return without exception set
Please help me to connect I have looked everywhere but of no help
Thanks in advance

Original issue reported on code.google.com by Leo.anu...@gmail.com on 15 Dec 2010 at 10:58

GoogleCodeExporter commented 9 years ago
Please provide us the detail of the platform and DB2, ibm_db version you are 
using.

Original comment by rahul.pr...@in.ibm.com on 17 Dec 2010 at 5:34

GoogleCodeExporter commented 9 years ago

Original comment by rahul.pr...@in.ibm.com on 17 Dec 2010 at 5:35

GoogleCodeExporter commented 9 years ago

Original comment by rahul.pr...@in.ibm.com on 23 Mar 2011 at 12:35