Re: [web2py] Re: Access DB2/400 from IBM i (AS/400) PASE environment

2018-12-03 Thread António Ramos
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

[web2py] Re: Access DB2/400 from IBM i (AS/400) PASE environment

2017-08-24 Thread Leonel Câmara
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