text: const mysql = require('mysql2');
  require('dotenv').config();
  
  // Connect to database
  const db = mysql.createConnection(
      {
        host: process.env.DB_HOST,
        user: process.env.DB_USER,
        password: process.env.DB_PW,
        database: process.env.DB_NAME
      },
      console.log('Connected to the Employee Tracker database.')
    );
  
  
    module.exports = db;
  