node-mysql2
node-mysql2 copied to clipboard
:zap: fast mysqljs/mysql compatible mysql driver for node.js
Address #1328 still in the draft... To add integration tests
When using promises, the `connection.ping()` function behaves in a very confusing and counter-intuitive way — it resolves to an error when the ping fails. Would it not be much better...
Right now the hostname presented on a TLS certificate is never validated. This means that man-in-the-middle attacks are trivial when using for example public CAs to sign certificates. The issue...
https://github.com/sidorares/node-mysql2/blob/ab3feb75bb4af1f6d288c0494a99aa2483ac24d5/.github/workflows/ci-linux.yml#L118-L122 there is a bug in coverage-comment-action https://github.com/ewjoachim/coverage-comment-action/issues/26 external users creating PRs will trigger actions whose github token won't have the right to post comments. so external users PRs always...
Hi, Observing frustratingly vague error and I am trying to understand what causes it: ``` InternalServerErrorException: unknown error: ``` The code that causes it; I opted for having dynamic values...
类型“typeof import("D:/project/workbench-node-serve/node_modules/mysql2/promise")”上不存在属性“raw”
error TS2339: Property 'affectedRows' does not exist on type 'RowDataPacket[] | RowDataPacket[][]...
Hello, i've some code, and have problems with it. I need to use `// @ts-ignore` to handle compiler problems: ```ts import mysql, {Connection} from 'mysql2/promise'; const conn: Connection = await...
Hi there, I receive the following error when closing a SSL connection that bubbles up: ```js { errno: -4077, code: "ECONNRESET", syscall: "read", stack: "Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:220:20)\n...
Hi, Following an example from https://github.com/sidorares/node-mysql2/blob/master/documentation/Extras.md on how to send named parameters as an object instead of an array but that causes an error: ``` TypeError: Class constructor LRUCache cannot...
This seems like it comes up fairly frequently here (and has come up [on my repo too](https://github.com/beekeeper-studio/beekeeper-studio/issues/832), so figured I'd add this as a core supported plugin. Not sure if...