node-mysql2
node-mysql2 copied to clipboard
:zap: fast mysqljs/mysql compatible mysql driver for node.js
This appears to be happening with mysql 8.0.13 (provisioned with amazon RDS), mysql 5.7 does not do this. What happens is that the first query, any query at all, will...
When we close the pool connection it call the close of the connection and then call the callback. When we do it twice the callback not call. The suggested solution...
with a 1ms timeout and the db being on the other side of an ssh tunnel thousands of miles away, shouldnt this result in an error in renderer.js? main.js ```js...
Is `caching_sha2_password` supported when using mysql2 as a server/proxy? I cannot see any references in the examples. Appreciate any guidance.
The type of `close` is missing from Connection.
The error raised is: > You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near...
My database is in a VPN, so I need to connect to database through a tunnel. I try but receive this error: ```bash Error: This socket has been ended by...
version 2.2.5 sql : UPDATE table1 SET type = ? WHERE id IN (?) params: ["some_type","1,2,3"] use connection.execute type will be changed only for id=1
Setting a DATETIME field with the value 2019-10-01 00:00:00 Then retrieve the data using the execute command: `const [result] = connection.execute('SELECT * FROM my_table', [])` result will equal to '2019-10-01'...
Nowadays TypeScript is a very popular way to write robust JavaScript, I am an adept of this superset and am in a project that needs to connect to MySQL. Going...