Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to know if it's possible to use Node.js in place of MySQL.

share|improve this question

closed as off-topic by Zistoloen, John Conde Oct 4 '13 at 11:12

  • This question does not appear to be about webmastering within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be off-topic because it is about programming which is off-topic at Pro Webmasters. Programming questions may be asked at Stack Overflow but be sure to read their FAQ before posting to ensure your question meets their guidelines. – John Conde Oct 4 '13 at 11:12
Not so sure this in regards to programming since Node.js has a built-in HTTP server. – dan Oct 4 '13 at 11:47
Unfortunately it is also too broad for this site. – John Conde Oct 4 '13 at 15:54
Out of scope does seem more accurate. – dan Oct 4 '13 at 16:28
I want to know if it's possible to use a sofa in place of my car? – JamesRyan Oct 7 '13 at 13:38

No, it's not. Node.js and MySQL are completely different things.

From http://nodejs.org:

Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

From http://mysql.com:

The world's most popular open source database

As you can see, one is a database (MySQL), the other one isn't.

You can however use MySQL and Node.js together, or you can use a plethora of other database systems in combination with Node.

share|improve this answer

No and yes.

No because Node.js is just a javascript library not a DB.

Yes because there's something being cooked right now called tingodb which is a DB and capable of replacing MySQL.


share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.