Most mature native Node.js MySQL driver?

☆樱花仙子☆ 提交于 2019-12-09 05:14:11

问题


I'm using MySQL for a Rails application and would like to be able to use this database for a Node.js app (in particular Tower.js). What is the most mature and/or performant driver available for this at the moment?


Due to @ryan's excellent input below, I looked a bit more into Felix's node-mysql There is an absolutely EXCELLENT podcast here that's I'd highly recommend listening to if you're interested in a slight history and general discussion as to the options and if node-mysql path may be right for you: http://ia600804.us.archive.org/3/items/NodeupEleven/NodeupEleven.mp3

After giving that roundtable discussion a quick listen up to that point, I'm pretty confident that this is the right path for about anyone to take right now. Further, the other discussions that go around are interesting as a general state of database support in Node.


回答1:


Here is a link to all the MySQL modules on the Node.js GitHub Wiki.

node-mysql seems to be what you're looking for. It has by far the most watchers and development looks very active.

However, there is quite a selection on the Wiki page, you might want to have a look there first to see if there is something that better suits your needs.



来源:https://stackoverflow.com/questions/10377722/most-mature-native-node-js-mysql-driver

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!