DEV Community

Discussion on: How to connect Node.js to IBM DB2 database - windows

Collapse
 
bimalkjha profile image
Bimal Kumar Jha • Edited

To connect a Db2 for z/OS, Db2 for AS400, Db2 for LUW or Db2 on Cloud/Dashdb or bigsql server using node.js application, you just need to install ibm_db package.

npm install ibm_db

and you are ready to go. You can install ibm_db on MacOS, Windows, Linux, zLinux, AIX, Sun, Sunamd, Linuxppc and z/OS platforms.
Check it for more info: github.com/ibmdb/node-ibm_db

Collapse
 
bskimball profile image
Brian Kimball

What about the DB2Connect licensing mentioned in the readme? I think that was the point of using the odbc connection instead