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

Created a config property `idleTime` to destroy the pool connection.If not set then it will work as default.

needs rebase

For example, to create a single connection using a connection string we do: ``` mysql.createConnection(connectionString); ``` I can't seem to find a way to do the same to create a...

enhancement
feature request

This PR fixes two related issues when using TLS: - Using LOAD DATA LOCAL, backpressure is not respected, causing out of memory errors if the data stream supplied by infileStreamFactory...

RFC at this stage, but I think the feature was mentioned / requested few times in the past and looks like a safe and useful addition At this stage I...

needs rebase

Hi! I have a database with next settings `CREATE DATABASE catabase CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;` When i send cyrillic symbols ('привет') thru my app, i get '???????' on database...

Error has been occuring for a while, happens after a while where the bot will error. I recently upgraded from mysql to mysql2 to see if it would fix the...

Consider the below code (TypeScript), I m trying to call MYSQL procedure using connection pool. ```ts const mysql = require( 'mysql2/promise'); import { config } from '../config/config'; const pool =...

question

Hi everyone, I have error (with process end): ``` events.js:292 throw er; // Unhandled 'error' event ^ Error: connect EHOSTUNREACH 45.67.57.43:3306 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) Emitted 'error' event on...

needs investigation

I have a script that is inserting tons of rows inside a mysql table. At the end of the script I do: 1) At the beginning of the script: Create...

question