mysql.js 263 Bytes
const mysql=require('mysql')
require('dotenv').config()

const pool=mysql.createPool({
    host:process.env.DB_HOST,
    user:process.env.DB_USER,
    password:process.env.DB_PASSWORD,
    database:'WhoAreYou',
    port:process.env.DB_PORT
})

module.exports=pool