felixge/node-mysql — pull request #587 by vinnie-pepi (2013-09-11 03:54:05+00:00)
Title: 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')
});