Mysql node pool errors after update to 0.1.3

Node-red version 1.2.7
Node.JS version 12.21.0
Debian 10
node-red-node-mysql version 0.1.3
mysql 2.18.1


After updating the mysql node from 0.1.1 to 0.1.3 I get the following error in the log (after about 6 minutes of running fine) and NR restarts:

14 Mar 12:18:58 - [red] Uncaught Exception:
14 Mar 12:18:58 - Error: Connection already released
    at Pool.releaseConnection (/home/Ashfaak/.node-red/node_modules/mysql/lib/Pool.js:138:13)
    at PoolConnection.release (/home/Ashfaak/.node-red/node_modules/mysql/lib/PoolConnection.js:35:15)
    at Query.<anonymous> (/home/Ashfaak/.node-red/node_modules/mysql/lib/Pool.js:211:12)
    at Object.onceWrapper (events.js:420:28)
    at Query.emit (events.js:326:22)
    at Query.Sequence.end (/home/Ashfaak/.node-red/node_modules/mysql/lib/protocol/sequences/Sequence.js:86:12)
    at Query._handleFinalResultPacket (/home/Ashfaak/.node-red/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home/Ashfaak/.node-red/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home/Ashfaak/.node-red/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home/Ashfaak/.node-red/node_modules/mysql/lib/protocol/Parser.js:433:10)

I've downgraded to 0.1.2 and the issue is gone.

Will post an issue to Github if necessary.



Yes please, and include the full error stack. thanks

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.