Quiz on MySQL Node.js Syntax



1. What is the primary purpose of using MySQL with Node.js?
2. Which module is commonly used to connect MySQL with Node.js?
3. What command is used to create a database in MySQL using Node.js?
4. How do you execute a query in Node.js using MySQL?
5. Which method is used to close the database connection in Node.js?

Advertisements