arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

About MariaDB Connector/Node.js

circle-info

The most recent release of MariaDB Connector/Node.js is:

Download Now

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.

hashtag
About MariaDB Connector/Node.js

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

hashtag
Obtaining the Driver

The required files can be downloaded from:

The source code is available on GitHub:

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

hashtag
Installing the Driver

The driver can be installed using npm:

hashtag
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 on ubuntu/windows/macOS).

hashtag
Requirements

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

hashtag
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.

hashtag
Using the Driver

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

npm install mariadb
connectorarrow-up-right
mariadb-connector-nodejsarrow-up-right
mariadbarrow-up-right
CI testsarrow-up-right
Promise
Callback API
spinner
Connector/Node.js 3.5.2
See all MariaDB Connector/Node.js releases