Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Most mature native Node.js MySQL driver?

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.

like image 721
ylluminate Avatar asked Apr 30 '12 02:04

ylluminate


1 Answers

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.

like image 170
Ryan Avatar answered Oct 11 '22 23:10

Ryan