mkdir mysql-test cd mysql-test npm init -y npm install mysql First of all we’re using the command line to create a new directory and navigate to it. MySQL (MySQL driver for node.js) 3. Almost every popular programming language like Java or PHP provides driver to access and perform operations with MySQL. MySQL is one of the most popular open source database in world and efficient as well. Learn more “where in” MySQL query in nodejs MySQL is one of the most preferred databases by the developers as it is open-sourced as well as efficient. Connector/Node.js is the official Node.js driver for MySQL.