5 lines
146 B
JavaScript
5 lines
146 B
JavaScript
const mysql = require('mysql');
|
|
const dbConfig = require('./config.js').dbConfig;
|
|
|
|
const pool = mysql.createPool(dbConfig);
|
|
module.exports = pool
|