开发者

Any node.js relational database bindings for Windows?

开发者 https://www.devze.com 2023-04-10 17:23 出处:网络
I\'m trying to build a RESTful internal web serv开发者_如何学运维er at work using node.js, where I\'m currently restricted to using a Windows 2003 Server.

I'm trying to build a RESTful internal web serv开发者_如何学运维er at work using node.js, where I'm currently restricted to using a Windows 2003 Server.

I've hit a stumbling block with regards to database support however. Are there any bindings currently available for reading and writing to sqlite, PostgreSQL or MySQL on Windows based machines?

Mariano has mentioned Windows support in the future in these comments, but ideally I'd like to use something available just now as a proof of concept.


I'm author of mysql-native. Both official (felixge node-mysql) and my driver has been successfully used under windows, I'm using and developing it under linux/windows 50/50% time . Feel free to contact me if you have any questions


Have you tried mysql-native? It's native (mysql) which means there are no other dependencies, so should run on any platform node supports. Seems to be actively maintained also, and has some examples to show you how to use the library. Link: https://github.com/sidorares/nodejs-mysql-native

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号