Nodejs is a powerful platform which used for real-time data with flexible of handling data in file system or database side. Today tutorial we are going to discuss about the connecting MySql with Nodejs.
Before getting into our code part, first will discuss about things needed for MySql connecting with Nodejs then will move to our code side.
First we need to check the MySql package is installed in our current Nodejs version or not. We have the command to check list or individual package installed in Nodejs. If the package is installed it will display the package else show “(empty)” value.
Display list of packages
Let’s see how to execute individual package and their output display. Continue reading…