Mysql Utwórz pulę

var mysql = require('mysql');

var pool      =    mysql.createPool({
    connectionLimit : 10,
    host     : '127.0.0.1',
    user     : '_DB_USER_',
    password : '_DB_PASSWORD_',
    database : '_DB_NAME_',
    debug    :  false
});    
module.exports = pool;
Cautious Capybara