import mysql from "mysql2/promise";
import config from "../config.js";

export default await mysql.createConnection({
  host: config.MYSQL.HOST,
  database: config.MYSQL.DATABASE,
  user: config.MYSQL.USER,
  password: config.MYSQL.PASSWORD,
});
