node-mysql2 icon indicating copy to clipboard operation
node-mysql2 copied to clipboard

:zap: fast mysqljs/mysql compatible mysql driver for node.js

Results 356 node-mysql2 issues
Sort by recently updated
recently updated
newest added

Errors with repect to MySQL are not caught in the catch block and causes the process to exit. Error which was causing this for me is mentioned below `code: 'ER_OUT_OF_SORTMEMORY',  ...

Im trying to connect to a Google Cloud Platform MySQL instance with SSL enabled using a public IP. However I get the error: > Error: Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not...

Hello, I'm working in a project that uses a MySQL instance running on AWS RDS and to improve security we're using [IAM based authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html), which means that the password to...

I encountered an unexpected behavior in the mysql2 library related to the use of unnamed placeholders when the namedPlaceholders configuration is set to true. Expected Behavior: According to the documentation,...

**WIP** Currently mysql2 driver always tries to connect with mysql_native_password plugin. For the servers supporting PLUGIN_AUTH and configured to use plugins other than mysql_native_password initial connection is usually followed by...

in progress
needs rebase

My team recently faced an issue with current decimal representation in string. Our database migrates to `decimal(38,16)` -- this is a pretty big decimal precision, but in real environment there...

Introduce character_set_results tracking to ensure that we can read the column name properly ###### still in the draft mode ########

needs rebase

When failover of aws aurora mysql occurs, "The MySQL server is running with the --read-only option so it cannot execute this statement" error occurs frequently. I think it is a...

https://github.com/sidorares/node-mysql2/blob/bd9042641523a2a80c718446a09dc4b2549c6b90/lib/packets/change_user.js#L19C9-L19C9 I think it should be `connectAttributes`.