nodejs generic-pool 설치 npm install generic-pool Step 1. 초기화 - object를 이용 pool 생성 var poolModule = require(‘generic-pool’); var pool = poolModule.Pool({ name : ‘mysql’, create : function(callback){ var Client = require(‘mysql’).Client; var c = new Client(); c.user = ‘scott’; c.password = ‘tiger’; c.database = ‘mydb’; c.connect(); // paramete order: err, resourc callback( null, c ); }, destroy: fu..