Download | Release Notes | Changelog |
Release date: 19 Jun 2023
MariaDB Connector/Node.js 3.2.0 is a Stable (GA) release.
For an overview of MariaDB Connector/Node.js see the page
'undefined' parameters are now permitted, for compatibility with mysql/mysql2 behavior
permit to import sql file directly
Node.js 20 is now tested and supported
importFile(options) → Promise
connection.importFile({file:'...', 'database': '...'}) → Promise
pool.importFile({file:'...', 'database': '...'}) → Promisepromise)
example:
missing deprecated option supportBigNumbers and bigNumberStrings in Typescript
ensuring option connectTimeout is respected : timeout is removed when socket is successfully established, in place of returning connection object. Wasn't set when using pipe/unix socket
In some case, pipelining was use even option explicitly disable it
method changeUser can lead to error when using multi-authentication and pipelining
CONJS-258 All eventEmitters methods are not available on connections
CONJS-259 SqlError sqlMessage property alias for text addition
await conn.importFile({
file: '/tmp/someFile.sql',
database: 'myDb'
});This page is: Copyright © 2025 MariaDB. All rights reserved.