import mysql from "mysql2";
import { db } from "../db";

export const db = mysql.createConnection({
    host: process.env.HOST,
    user: process.env.DATABASE,
    database: process.env.DATABASE,
    password: process.env.PASSWORD,
    waitForConnections: true,
    connectionLimit: 10,
    queueLimit: 0
});