Node.js MySQL

Spread the love

Node.js can be used in database applications.

One of the most popular databases is MySQL.

Install MySQL Driver

Using npm

C:\Users\pc\Desktop\nodeJsTest>npm install mysql

8 2
9 2
[{"id":1,"name":"Dr.Chandana"},{"id":2,"name":"Dr.Cooray"},{"id":3,"name":"Prof. Cooray"},{"id":4,"name":"Dr.Kumari"}]
10 2
11 4


  1. What i do not realize is if truth be told how you’re not really a lot more smartly-favored than you might be right now. You’re very intelligent. You recognize therefore considerably on the subject of this matter, produced me for my part believe it from so many various angles. Its like women and men are not interested until it?¦s one thing to accomplish with Woman gaga! Your own stuffs nice. At all times handle it up!

  2. Greetings from Carolina! I’m bored to death at work so I decided to browse your website on my
    iphone during lunch break. I love the knowledge you provide here and can’t wait to take a look when I get home.
    I’m shocked at how quick your blog loaded on my cell phone ..
    I’m not even using WIFI, just 3G .. Anyways, fantastic

  3. Hey there would you mind letting me know which webhost you’re utilizing?
    I’ve loaded your blog in 3 different browsers and I must say this blog
    loads a lot faster then most. Can you recommend
    a good hosting provider at a honest price? Cheers, I appreciate it!

Leave a Reply

Your email address will not be published.