-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
Description
Ran into this unexpected error:
/home/user/app/node_modules/mysql/lib/protocol/Parser.js:15
this._packetHeader = null;
^
RangeError: Invalid array buffer length
at new ArrayBuffer (native)
at new Uint8Array (native)
at createBuffer (buffer.js:23:15)
at allocate (buffer.js:98:12)
at new Buffer (buffer.js:53:12)
at Parser.append (/home/user/app/node_modules/mysql/lib/protocol/Parser.js:110:14)
at Parser.write (/home/user/app/node_modules/mysql/lib/protocol/Parser.js:25:8)
at Protocol.write (/home/user/app/node_modules/mysql/lib/protocol/Protocol.js:39:16)
at TLSSocket.ondata (_stream_readable.js:528:20)
at emitOne (events.js:77:13)
at TLSSocket.emit (events.js:169:7)
node v4.3.1
node-mysql 2.10.2