Open unquietwiki opened 5 years ago
(Some years hence)
It's an old PoC and the error handling is very bad, so it's not worth further effort.
$ mysql -h 127.0.0.1 -P 3307 --ssl-mode=DISABLED
Welcome to the MySQL monitor. Commands end with ; or \g.
Warning: got packets out of order. Expected 3 but received 0
help
;
^C^\Aborted
Warning: got packets out of order. Expected 4 but received 0
node:events:497
throw er; // Unhandled 'error' event
^
Error: Connection lost: The server closed the connection.
at Socket.<anonymous> ({{redacted}}/node_modules/mysql-pg-proxy/node_modules/mysql2/lib/connection.js:117:31)
at Socket.emit (node:events:519:28)
at TCP.<anonymous> (node:net:337:12)
Emitted 'error' event on Connection instance at:
at Connection._notifyError ({{redacted}}/node_modules/mysql-pg-proxy/node_modules/mysql2/lib/connection.js:252:12)
at Socket.<anonymous> ({{redacted}}/node_modules/mysql-pg-proxy/node_modules/mysql2/lib/connection.js:123:12)
at Socket.emit (node:events:519:28)
at TCP.<anonymous> (node:net:337:12) {
fatal: true,
code: 'PROTOCOL_CONNECTION_LOST'
}