Home » Nodejs » Libraries for connecting node.js to odbc on Windows? [closed]

Libraries for connecting node.js to odbc on Windows? [closed]

Posted by: admin November 29, 2017 Leave a comment

Questions:

I’m looking for a library that allows node.js to connect to ODBC on windows. All the libraries I have found thus far seem to work with UnixODBC but not windows, can someone please suggest a library that will work with Windows?

Answers:

Although the readme only mentions UnixODBC, this project:
https://github.com/wankdanker/node-odbc
will actually install and work on windows.

You can install it on windows with:

npm install odbc

but you will need the various requiements for building native modules on windows:

https://github.com/TooTallNate/node-gyp

Leave a Reply

Your email address will not be published. Required fields are marked *