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 remend 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: .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.
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 remend 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/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.
Share Improve this question edited Apr 30, 2012 at 2:50 ylluminate asked Apr 30, 2012 at 2:01 ylluminateylluminate 12.4k17 gold badges82 silver badges161 bronze badges 01 Answer
Reset to default 12Here 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.