Update Pool.js

from the docs it seems that a connection event would have an error as first argument

pool.on('connection', function(err, connection) {
  connection.query('SET SESSION auto_increment_increment=1')
});