Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 489
leeand00 Avatar asked Oct 22 '12 17:10

leeand00


People also ask

What is ODBC database connection?

Open Database Connectivity (ODBC) is a protocol that you can use to connect a Microsoft Access database to an external data source such as Microsoft SQL Server. This article contains general information about ODBC data sources, how to create them, and how to connect to them by using Microsoft Access.


1 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

like image 116
jedigo Avatar answered Oct 12 '22 12:10

jedigo