node-mysql2
node-mysql2 copied to clipboard
:zap: fast mysqljs/mysql compatible mysql driver for node.js
In the mysql library which is used as inspiration for this library and has quite similar API, PoolCluster has the attribute `restoreNodeTimeout`: a node which failed the number of times...
Hi, I'm seeing rare crashes on this line in one of my applications with the following error message: ``` Cannot read properties of undefined (reading 'once') ``` https://github.com/sidorares/node-mysql2/blob/489154f98224fad8036b87c63df8b736ede1c4aa/lib/pool.js#L153 It seems...
we need some minimal instructions covering binlog setup and API documentations binlog installation instructions: https://github.com/nevill/zongji#installation some usage: https://github.com/sidorares/node-mysql2/blob/956c7ab994f7c9fd7cd350fb66a77fa8cb124127/website/docs/examples/binlog-watcher.mdx#L10-L29 most of the current usage derived from zongji client, need to think...
We are connecting to planetscale through expressjs using mysql2. We are fetching around 1 million records in pagination manner 50k rows at time and using below code for the same....
Hi, is it possible that the connection pool returns the sames connection reference if the getConnection is called concurrently? For example, i'm using the following code to get a free...
WIP, work related to #2090
Hi I'm use a mysql2 at my express server. and I want to set timezone. first I set mysql2 connection configuration like this ``` javascript { host: "dev_db_container", user: process.env.DB_USER,...
I am trying to work with Apache Doris recently, but I got connection errors since I changed mysql2 from v2.3.3 to v3.6.3. For example, the code below, should work perfectly...
I have been investigating a problem that is causing trouble on our test suite and I managed to trace it to `mysql2`. This script allows reproducing it: Reproduction instructions ```js...
it should be there; it's usually set. also delete redundant comments of the form `/** the variable name, but with spaces */`.