node-mysql2
node-mysql2 copied to clipboard
:zap: fast mysqljs/mysql compatible mysql driver for node.js
**Environment:** * **Node.js:** * Failing: **v22.7.0** * Working: **v20.x LTS** [Add exact version tested, e.g., v20.11.1] * **mysql2:** [Add exact version used, e.g., 3.9.x - check via `npm list mysql2`]...
``` let query='select * from ?? where (??=?) limit ?,? ' let params = ['certification', "cert->>'$.name'", 'myname', 0, 20]; let pool = mysql.createPool(poolOption); let sql = pool.format(query, params); // the...
Hello everyone, I'm trying yo bulk to mysql database a file with 4GB with SSL certificate and after sometime of process start I'm getting this error: - **Error: LOAD DATA...
Not sure if this is linked with https://github.com/sidorares/node-mysql2/issues/1168 I have noticed the back pressuring on streaming interface in mysql2 isn't being handled correctly (as expected from pipeline). Ideally, you expect...
We've been seeing sporadic `read ETIMEDOUT` errors when making queries to our database. The traffic is fairly low, and the issue is seen in periods of very low activity i.e....
I was very excited to try this on Cloudflare pages/workers, unfortunately it fails to run with the following: ``` ⎔ Starting local server... [wrangler:inf] Ready on http://localhost:8788 ✘ [ERROR] [request...
Hi, When Pool._removeIdleTimeoutConnections() is executed and an idle connection is selected for removal (regardless of the conditions) the following code is executed: https://github.com/sidorares/node-mysql2/blob/master/lib/pool.js#L208 This in turn removes the connection from...
Hi, thank you very much for the mysql2 library! I have a question that if not currently possible could be turned into a feature request. I want to process large...
Follow up for #3384, inspired by #3028