{"size": 281, "ext": "js", "max_stars_repo_path": "_helpers/mysql.js", "max_stars_repo_name": "frapercan/Middleware-Concentrators-Task-Manager", "max_stars_repo_stars_event_min_datetime": "2020-07-24T17:39:19.000Z", "max_stars_repo_stars_event_max_datetime": "2020-07-24T17:39:19.000Z", "max_issues_repo_path": "_helpers/mysql.js", "max_issues_repo_name": "frapercan/Middleware-Concentrators-Task-Manager", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "_helpers/mysql.js", "max_forks_repo_name": "frapercan/Middleware-Concentrators-Task-Manager", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.0714285714, "max_line_length": 41, "alphanum_fraction": 0.7081850534}
const mysql = require('mysql2/promise');
require('dotenv-safe').config();

const pool = mysql.createPool({
    host: process.env.MYSQL_URL,
    user: process.env.MYSQL_USER,
    password: process.env.MYSQL_PASSWORD,
    database: process.env.MYSQL_DB
});

module.exports = pool;


