在Windows上将node.js连接到odbc的库? [英] Libraries for connecting node.js to odbc on Windows?

查看:139
本文介绍了在Windows上将node.js连接到odbc的库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个允许node.js在Windows上连接到ODBC的库.到目前为止,我发现的所有库似乎都适用于UnixODBC,但不适用于Windows,有人可以建议一个适用于Windows的库吗?

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?

推荐答案

尽管自述文件仅提及UnixODBC,但该项目: https://github.com/wankdanker/node-odbc 实际上将在Windows上安装并运行.

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

您可以使用以下软件将其安装在Windows上:

You can install it on windows with:

npm install odbc

但是您将需要在Windows上构建本机模块的各种要求:

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

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

这篇关于在Windows上将node.js连接到odbc的库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆