F
F
freestm2018-04-07 02:56:20
MySQL
freestm, 2018-04-07 02:56:20

Is it possible to use MySQL with node.js?

As I noticed, almost everyone uses mongodb with a node (speed, convenience, everything...). What if I like relational databases more, I'm used to them and it's more convenient for me to work with them? When I think about putting mysql for a nodejs application, I get the feeling that this is wrong, and that I want to use the tool for other purposes. What to do: forget about mysql for nodejs or close your eyes to the rationale for the superiority of mongodb over mysql for nodejs applications and put what you want?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Abcdefgk, 2018-04-07
@Abcdefgk

O! What is this?
www.oracle.com/technetwork/database/database-techn...

O
OnYourLips, 2018-04-07
@OnYourLips

When I think about putting mysql for a nodejs application, I get the feeling that this is wrong, and that I want to use the tool for other purposes.
Most likely it is. MySQL is a general-purpose DBMS, business logic fits well on it. Writing ordinary non-utilitarian sites with Node.js is not the most optimal solution, it is rather for all sorts of pumps, network utilities, chats, etc. with simple primitive logic. Therefore, it turns out that with Node.js, all sorts of exotic storages are usually used, optimized for a specific and most often simple data structure.

D
Danil, 2018-04-10
@Veneomin

I have a nodejs + mysql project, the settings are elementary , it works and everything is ok. I see no problem why not use mysql if it solves your problems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question