node-mysql2
node-mysql2 copied to clipboard
:zap: fast mysqljs/mysql compatible mysql driver for node.js
This fixes the issue described by https://github.com/sidorares/node-mysql2/pull/2119#issuecomment-1655735558 and partially resolves https://github.com/sidorares/node-mysql2/issues/2172. This doesn't implement the changes described in the issue regarding deprecating the Amazon RDS profile in favor of moving...
Hi I am connecting to a remote MYSQL server. I tried with the following code. Emoji is saving as ???. Set the remote server as follows. https://i.imgur.com/Ktx8flD.png ``` const connection...
node-mysql2 returns deserialized value of MySQL JSON column while node-mysql returns string. For updating/inserting, both require serialized string. I think it is worth adding to "Known incompatibilities with node-mysql" section...
This _PR_ improves the serialization of LRU keys when generating the cache 🚀 It also implements additional sanitization to improve the security of cached keys 👩🏻🔧 --- ### Deciding between...
try to close #2179 **Summary** - To fix the error `window is not found`, replace node `Timers` with web timers - To fix the error `Code generation from strings disallowed...
I tried mapping configuration from DataGrip in my mysql config, but I'm blocked by "message": "005074D801000000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled:../deps/openssl/openssl/ssl/statem/extensions.c:922:\n" In the Datagrip I enabled SSL and set "-Djdk.tls.disabledAlgorithms=SSLv3, TLSv1"...
If i add to my project `const mysql = require('mysql2');` and launch my nodejs project with `npm start` i get error ``` /nodejs_project/node_modules/lru-cache/dist/cjs/index.js:359 #initializeTTLTracking() { ^ SyntaxError: Unexpected token '('...
I occasionally encounter the following error, leading to a server crash. The crashes appear to coincide with the wait_timeout, occurring approximately every 8 hours. Apart from this issue, all other...
**OS:** Ubuntu 22.04 LTS **MySQL:** 8.0.35 **NodeJS:** 20.10.0 **NPM:** 10.2.3 **mysql2:** ^3.7.0 **MySQL: total threads available in my system** ``` mysql> SHOW VARIABLES LIKE 'max_connections'; +-----------------+-------+ | Variable_name | Value...
# Description This pull request addresses a critical deadlock issue that arose from incorrect removal of connections in the _freeConnections list. The deadlock was caused by having different indices for...