node-mysql2
node-mysql2 copied to clipboard
:zap: fast mysqljs/mysql compatible mysql driver for node.js
Hi, I have a node.js project using "mysql2", "^3.6.0" and "typeorm", "^0.3.17". Then I have set up mysqlrouter in the same server as recommnded. mysql innodb cluster is set up...
Thanks for your work. We are using the connection pool of mysql2 in production in CloudRun with ["CPU is always allocated"](https://cloud.google.com/run/docs/configuring/cpu-allocation#setting) (i.e. simply say, it is a regular nodejs app)...
Last time I did a translation of this project. #1572 This time, I fixup some links jump failed bugs, and some translation still English's question. At last, I add the...
Rebase of PR #1559 which GitHub automatically closed :( This PR fixes two related issues when using TLS: Using LOAD DATA LOCAL, backpressure is not respected, causing out of memory...
```javascript var mysql = require("mysql2"); const chalk = require('chalk'); ... pool.on("connection", function (connection) { connection.on("enqueue", function (sequence) { if ("Query" === sequence.constructor.name) { console.log(chalk.green(`[+] mysql: ${sequence.sql}`)); } }); }); ......
 i cant do something like this
We have a CNAME set in Route53 for our RDS cluster. When using that CNAME as host for MySQL connection we are getting `ERR_TLS_CERT_ALTNAME_INVALID` error (Hostname/IP does not match certificate's...
I noticed that with some configuration of Connection Pool the Node process can't stop working and just hang. In my case, it appears in mocha tests when mocha process can't...
Hello, I am having trouble trying to get my connections to close. Every query creates a new connection in MySQL (for every query, the number of 'Connection' seen from "show...
Hello, I am having an error Property '_freeConnections' does not exist on type 'Pool'.  because _freeConnections key missing in pool interface https://github.com/sidorares/node-mysql2/blob/master/typings/mysql/lib/Pool.d.ts although I can find it https://github.com/sidorares/node-mysql2/blob/master/lib/pool.js file...