looking at the code ,using the ibm_db_dbi supplied by ibm, the connection string to IBM i db2 is this 'db2:ibm_db_dbi://DSN=dsn;UID=user;PWD=pass'
but this is for windows because of the dsn right? what if i want to connect from inside my IBM i where i have an AIX system ? i already have python 3.6 and pydal installed in my IBM i Aix how do i connect to my library for example ar54? from there then i will try to query my library tables. any clue ? Regards António Em sex, 25 de ago de 2017 às 01:21, Leonel Câmara <[email protected]> escreveu: > The DAL supposedly has support for DB2 which you can use with these > connection strings: > > db2:ibm_db_dbi://DSN=dsn;UID=user;PWD=pass > > db2:pyodbc://driver=DB2;hostname=host;database=database;uid=user;pwd=password;port=port > > The problem is that very few people use it, so it wouldn't surprise me at > all if it is broken right now. > > If you guys want to use it, you need to start testing it, filing issues in > pyDAL and even help solve the problems, and creating tests to make sure > they do not reappear. Much like the people using Oracle did not long ago. I > would love a big coffee but I don't have any machine running DB2 nor do I > use it for anything, even so, I may be able to help if someone is actually > filing issues and willing to test my potential fixes for me. > > Either way, there's no need to offer coffee to web2py core developers, > web2py is open source and all of you are very good developers, so... Just > scratch your itch and help everyone else in the process. > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

