Summary: 1. Installing ‘mysql2’ Package 2. Creating a Connection to MySQL Database 3. Executing Queries with MySQL in Node.js Note: If you are using ‘mysql’ package, you may get an error, this is because ‘mysql’ in Node.js doesn't support new default authentication method of MySQL 8, yet. So you can using ‘mysql2’ instead of ‘mysql’ package. #mysql #nodejs #database #javascript
Summary: 1. Installing ‘mysql2’ Package 2. Creating a Connection to MySQL Database 3. Executing Queries with MySQL in Node.js Note: If you are using ‘mysql’ package, you may get an error, this is because ‘mysql’ in Node.js doesn't support new default authentication method of MySQL 8, yet. So you can using ‘mysql2’ instead of ‘mysql’ package. #mysql #nodejs #database #javascript