L
L
Leonus_VR2020-03-21 14:50:48
MySQL
Leonus_VR, 2020-03-21 14:50:48

How to connect MySQL to Node.js, displaying in Notepad++?

Background I
used to use and run a node.js server in notepad++ editor. To do this, I inserted the following lines into the NppExec file:

cd "$(FULL_CURRENT_PATH)"
node $(FILE_NAME)

Everything worked
Problem
Now I want to use MySQL with Node.js, but I didn't find how to connect it so that I can use Notepad++. Everything I found sent me to some other editor, but I would still like to use Notepad ++
Another problem is that they write there that you need to insert this to connect.
npm install --save mysql2
I don’t know where to insert it (I understand that in which is the console).
Enlighten who can

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shohruh Shaimardonov, 2020-03-21
@joeberetta

Open any console (terminal) and write what you need
З.ы. use vscode instead of notepad++ (you'll love it)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question