Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql create pool

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;
 
PREVIOUS NEXT
Tagged: #mysql #create #pool
ADD COMMENT
Topic
Name
3+8 =