About MariaDB Connector/Node.js
MariaDB Connector/Node.js is a native JavaScript driver for connecting Node.js applications to MariaDB and MySQL databases, supporting both Promise and Callback APIs via npm.
Last updated
Was this helpful?
MariaDB Connector/Node.js is a native JavaScript driver for connecting Node.js applications to MariaDB and MySQL databases, supporting both Promise and Callback APIs via npm.
The most recent release of MariaDB Connector/Node.js is: 3.5.4
See all MariaDB Connector/Node.js releases
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.
MariaDB Connector/Node.js is a native JavaScript 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: npm mariadb
The driver can be installed using npm:
npm install mariadbDriver versions are compatible with all MariaDB servers and MySQL 5.x (>= 5.5.3). Tested with all active MariaDB server versions with Node.js 20+ (see CI tests on ubuntu/windows/macOS).
MariaDB Connector/Node.js requires Node.js 20 or above.
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.
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.
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?
Was this helpful?

