Hey, I'm doing some debugging with some lightweight client code to see whats going on and I've managed to get some more debug info that may interest you. Still trying to figure out what it means as of yet but I'll share with you guys now.
<-- HandshakeInitializationPacket {
protocolVersion: 10,
serverVersion: '5.6.42.0',
threadId: 65062,
scrambleBuff1: <Buffer fe fe fe fe fe fe fe fe>,
filler1: <Buffer 00>,
serverCapabilities1: 43791,
serverLanguage: 33,
serverStatus: 2,
serverCapabilities2: 63,
scrambleLength: 21,
filler2: <Buffer 00 00 00 00 00 00 00 00 00 00>,
scrambleBuff2: <Buffer fe fe fe fe fe fe fe fe fe fe fe fe>,
filler3: <Buffer 00>,
pluginData: 'mysql_native_password',
protocol41: true
}
--> (65062) SSLRequestPacket {
clientFlags: 457679,
maxPacketSize: 0,
charsetNumber: 33
}
--> (65062) ClientAuthenticationPacket {
clientFlags: 457679,
maxPacketSize: 0,
charsetNumber: 33,
filler: undefined,
user: undefined,
scrambleBuff: <Buffer 54 dd d2 75 87 da 39 2a 3b 53 4b 0e 71 62 2a 19 05 7a cd 63>,
database: 'money-heroes',
protocol41: true
}
<-- (65062) ErrorPacket {
fieldCount: 255,
errno: 9999,
sqlStateMarker: '#',
sqlState: '28000',
message: 'An internal error has occurred. Please retry or report your issues.\u0000'
}
/Users/chrisevans/Documents/GitHub/mysql-client-test/index.js:22
if (error) throw error;
^
Error: UNKNOWN_CODE_PLEASE_REPORT: An internal error has occurred. Please retry or report your issues.
at Handshake.Sequence._packetToError (/Users/chrisevans/Documents/GitHub/mysql-client-test/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/Users/chrisevans/Documents/GitHub/mysql-client-test/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
at Protocol._parsePacket (/Users/chrisevans/Documents/GitHub/mysql-client-test/node_modules/mysql/lib/protocol/Protocol.js:291:23)
at Parser._parsePacket (/Users/chrisevans/Documents/GitHub/mysql-client-test/node_modules/mysql/lib/protocol/Parser.js:433:10)
at Parser.write (/Users/chrisevans/Documents/GitHub/mysql-client-test/node_modules/mysql/lib/protocol/Parser.js:43:10)
at Protocol.write (/Users/chrisevans/Documents/GitHub/mysql-client-test/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at TLSSocket.ondata (_stream_readable.js:717:22)
at TLSSocket.emit (events.js:315:20)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:271:9)
--------------------
at Protocol._enqueue (/Users/chrisevans/Documents/GitHub/mysql-client-test/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/Users/chrisevans/Documents/GitHub/mysql-client-test/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/Users/chrisevans/Documents/GitHub/mysql-client-test/node_modules/mysql/lib/Connection.js:116:18)
at Object.<anonymous> (/Users/chrisevans/Documents/GitHub/mysql-client-test/index.js:19:12)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
code: 'UNKNOWN_CODE_PLEASE_REPORT',
errno: 9999,
sqlMessage: 'An internal error has occurred. Please retry or report your issues.\u0000',
sqlState: '28000',
fatal: true
}