Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global.mysql = mysql_module.createConnection({
- host: config.mysql.host,
- user: config.mysql.user,
- password: config.mysql.password
- });
- global.mysql = mysql_module.createPool({
- host: config.mysql.host,
- user: config.mysql.user,
- password: config.mysql.password,
- database : config.mysql.database,
- connectionLimit : 50
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement