felixge/node-mysql — Issue #156: Error: Unknown thread id: .....
Author: exos
Created: 2011-12-22 19:49:45+00:00
State: open

In a simple application that monitors the process list of mysql server (with an eternal connection) dies and ends with this error message:

events.js:45
throw arguments[1]; // Unhandled 'error' event
^
Error: Unknown thread id: 58136806
at Function._packetToUserObject (/root/mymonit/node_modules/mysql/lib/client.js:387:7)
at Query._handlePacket (/root/mymonit/node_modules/mysql/lib/query.js:33:33)
at Client._handlePacket (/root/mymonit/node_modules/mysql/lib/client.js:312:14)
at Parser. (native)
at Parser.emit (events.js:64:17)
at /root/mymonit/node_modules/mysql/lib/parser.js:71:14
at Parser.write (/root/mymonit/node_modules/mysql/lib/parser.js:576:7)
at Socket. (native)
at Socket.emit (events.js:64:17)
at Socket._onReadable (net.js:672:14)