import * as dotenv from 'dotenv'
import mysql from 'mysql2';
dotenv.config();

const conn = mysql.createConnection({
 host: process.env.DB_HOST,
 user: process.env.DB_USER,
 password: process.env.DB_PASSWORD,
 database: process.env.DB_NAME,
 multipleStatements: true,
});

conn.connect();

export default conn;