import mysql from 'mysql2/promise'; import getConfig from '../util/getConfig.js'; export default mysql.createPool(getConfig().db);