About MariaDB Connector/Node.js

You are viewing an old version of this article. View the current version here.

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. Java Compat.  Release Notes  Changelog 
18 Juil. 20180.7.0AlphaNode 6+Release NotesChangelog

About MariaDB Connector/Node.js

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

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 MariaDB server versions 5.5, 10.0, 10.1, 10.2 and 10.3 with Node.js 6 to 10 (see travis results for unix or appveyor results on windows).

Requirements

MariaDB Connector/Node.js require Node.js 6 or above, since based on Promise.

Source Code

The source code is available on GitHub: https:github.com/MariaDB/mariadb-connector-nodejs

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 API's on the back-end: Promise and Callback. The default API is Promise. The callback API is provided for compatibility with the mysql and mysql2 API's.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.