Release Notes for MariaDB Connector/Node.js 2.5.6
This page is part of MariaDB's MariaDB Documentation.
The parent of this page is: Release Notes for MariaDB Connector/Node.js 2.5
Topics on this page:
MariaDB Connector/Node.js is the interface between Node.js applications and MariaDB Server. MariaDB Connector/Node.js enables development of Node.js applications.
MariaDB Connector/Node.js 2.5.6 was released on 2022-02-17. This release is of General Availability (GA) maturity.
The default connectTimeout value has changed from
10000(10 seconds) to
1000(1 second). (CONJS-183)
On Windows, when
LOAD DATA LOCAL INFILEis executed, the file name validation does not handle escaped characters. (CONJS-181)
In previous releases, loading data from a file named with escaped characters results in the following error:
SqlError: (conn=60, no: 45034, SQLState: 45034) LOCAL INFILE wrong filename. 'UNESCAPED_FILENAME' doesn't correspond to query LOAD DATA LOCAL INFILE 'ESCAPED_FILENAME'
The default connectTimeout value may not be optimal for production environments and causes misleading error messages when used with connection pools. (CONJS-183)
In previous releases, the default
10000(in milliseconds), which is 10 seconds.
Starting with this release, the default
1000(in milliseconds), which is 1 second.
The previous default
connectTimeoutvalue was equal to the default acquireTimeout value. When connection pools are used with the new default
connectTimeoutvalue, connection errors are not masked by misleading
When the connection character set is set to an unsupported value, the connector does not raise an exception. (CONJS-186)