code: function initPool(name, config){
      // new pool
      const pool = _mysql.createPool(config);
  
      // create pool wrapper
      _pools[name || '_default'] = {
          _instance: pool,
          getConnection: function(scope){
              return _poolConnection.getConnection(pool, scope);
          }
      }
  }
docs: create new pool