All pages
Powered by GitBook
1 of 1

About MariaDB Connector/Node.js

The most recent Stable (GA) release of MariaDB Connector/Node.js is:

Connector/Node.js 3.4.4

Download MariaDB Connector/Node.js

MariaDB Connector/Node.js is used to connect applications developed on Node.js to MariaDB and MySQL databases. The library is LGPL licensed.

Date
Release
Status
Min. Node.js Compat.
Release Notes
Changelog

3 Jul 2025

3.4.4

Stable (GA)

Node 10+

Release Notes

Changelog

2 Jul 2025

3.4.3

Stable (GA)

Node 10+

Release Notes

Changelog

25 Apr 2025

3.4.2

Stable (GA)

Node 10+

Release Notes

Changelog

02 Apr 2025

3.4.1

Stable (GA)

Node 10+

Release Notes

Changelog

24 Oct 2024

3.4.0

Stable (GA)

Node 10+

Release Notes

Changelog

18 Sep 2024

3.3.2

Stable (GA)

Node 10+

Release Notes

Changelog

5 Jun 2024

3.3.1

Stable (GA)

Node 10+

Release Notes

Changelog

see all Connector/Node.js releases

About MariaDB Connector/Node.js

MariaDB Connector/Node.js is a native JavaScript driver.

Obtaining the Driver

The required files can be downloaded from:connector

The source code is available on GitHub:mariadb-connector-nodejs

MariaDB Connector/Node.js on npm, the package manager for JavaScript:mariadb

Installing the Driver

The driver can be installed using npm:

npm install mariadb

Choosing a Version

Driver versions are compatible with all MariaDB servers and MySQL 5.x (>= 5.5.3). Tested with all active MariaDB server versions with Node.js 14+ (see CI tests on ubuntu/windows/macOS).

Requirements

MariaDB Connector/Node.js requires Node.js 14 or above, since it is based on Promise.

License

GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License or (at your option) any later version.

Using the Driver

The MariaDB Connector can use different APIs on the back-end: Promise and Callback API. The default API is Promise. The callback API is provided for compatibility with the mysql and mysql2 APIs.