You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the MySQL node in Node-RED, which depends on mysql2, to insert data into a table that has triggers after insert and update operations, the charsetNumber property in the connection pool becomes undefined after completing this operation.
Jan 10:25:14 - [red] Uncaught Exception:
Jan 10:25:14 - [error] Error: Encoding not recognized: 'undefined' (searched as: 'undefined')
at Object.getCodec (C:\Users\86157.node-red\node_modules\iconv-lite\lib\index.js:104:23)
at Object.getEncoder (C:\Users\86157.node-red\node_modules\iconv-lite\lib\index.js:115:23)
at exports.encode (C:\Users\86157.node-red\node_modules\mysql2\lib\parsers\string.js:23:25)
at Packet.writeNullTerminatedString (C:\Users\86157.node-red\node_modules\mysql2\lib\packets\packet.js:757:30)
at HandshakeResponse.serializeResponse (C:\Users\86157.node-red\node_modules\mysql2\lib\packets\handshake_response.js:49:12)
at HandshakeResponse.toPacket (C:\Users\86157.node-red\node_modules\mysql2\lib\packets\handshake_response.js:99:20) at ClientHandshake.sendCredentials (C:\Users\86157.node-red\node_modules\mysql2\lib\commands\client_handshake.js:64:46)
at ClientHandshake.handshakeInit (C:\Users\86157.node-red\node_modules\mysql2\lib\commands\client_handshake.js:137:12)
at ClientHandshake.execute (C:\Users\86157.node-red\node_modules\mysql2\lib\commands\command.js:39:22)
at PoolConnection.handlePacket (C:\Users\86157.node-red\node_modules\mysql2\lib\connection.js:425:32)
The text was updated successfully, but these errors were encountered:
When using the MySQL node in Node-RED, which depends on mysql2, to insert data into a table that has triggers after insert and update operations, the charsetNumber property in the connection pool becomes undefined after completing this operation.
Jan 10:25:14 - [red] Uncaught Exception:
Jan 10:25:14 - [error] Error: Encoding not recognized: 'undefined' (searched as: 'undefined')
at Object.getCodec (C:\Users\86157.node-red\node_modules\iconv-lite\lib\index.js:104:23)
at Object.getEncoder (C:\Users\86157.node-red\node_modules\iconv-lite\lib\index.js:115:23)
at exports.encode (C:\Users\86157.node-red\node_modules\mysql2\lib\parsers\string.js:23:25)
at Packet.writeNullTerminatedString (C:\Users\86157.node-red\node_modules\mysql2\lib\packets\packet.js:757:30)
at HandshakeResponse.serializeResponse (C:\Users\86157.node-red\node_modules\mysql2\lib\packets\handshake_response.js:49:12)
at HandshakeResponse.toPacket (C:\Users\86157.node-red\node_modules\mysql2\lib\packets\handshake_response.js:99:20) at ClientHandshake.sendCredentials (C:\Users\86157.node-red\node_modules\mysql2\lib\commands\client_handshake.js:64:46)
at ClientHandshake.handshakeInit (C:\Users\86157.node-red\node_modules\mysql2\lib\commands\client_handshake.js:137:12)
at ClientHandshake.execute (C:\Users\86157.node-red\node_modules\mysql2\lib\commands\command.js:39:22)
at PoolConnection.handlePacket (C:\Users\86157.node-red\node_modules\mysql2\lib\connection.js:425:32)
The text was updated successfully, but these errors were encountered: