Also, you can refer my blog post. http://ochiba77.blogspot.com/2011/09/how-to-connect-db2-with-python-pyodbc.html
On Jan 20, 1:47 am, David Marko <dma...@tiscali.cz> wrote: > Thank you !!! This setting s in db2cli.ini is really working for me without > any further chnage in web2py tables. Nice. > > Also how do you access db2 from web2py? Do you use ODBC or native driver? > I'm asking because ODBC is working for me just fine, but I also installed > DB2 python driver and changed the connection string to something like > db2://username:password@my_db > but it doesnt work for me, still getting some strange error that connection > cannot be provided. Whats your experience here? > > David