Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What MySQL drivers are available for node.js? [closed]

Is there a Node.JS Driver for MySQL that is commonly used other than node-mysql?

(It seems like there is not much activity with node.js database drivers. Is there a reason for this or is it just because Node.JS is so young?)

like image 830
Brad Barrows Avatar asked Oct 07 '10 04:10

Brad Barrows


2 Answers

Here are some options:

  • http://github.com/felixge/node-mysql (last update: Sep 29th)
  • https://github.com/sidorares/node-mysql2 (last update: Sep 04, 2018)
like image 113
NullUserException Avatar answered Oct 16 '22 13:10

NullUserException


You can also try out a newer effort known as Node.js DB that aims to provide a common framework for several database engines. It is built with C++ so performance is guaranteed.

Specifically you could use its db-mysql driver for Node.js MySQL support.

like image 43
Mariano Iglesias Avatar answered Oct 16 '22 14:10

Mariano Iglesias