mariadb-connector-nodejs-install
Installing and configuring MariaDB Connector/Node.js (the mariadb npm package) — that it is pure JavaScript with no native build step, so no compiler or node-gyp is involved; that the 3.5 line requires Node.js 20 or later; that the default export is the promise API and the callback API lives behind the mariadb/callback subpath, with both ESM and CommonJS resolved through the package's exports map and TypeScript typings already bundled; that ssl: true verifies the server certificate by default and a private CA needs an object form; and the pool defaults, connectionLimit 10 and acquireTimeout 10 seconds. Use when adding the connector to a project, containerizing it, or configuring TLS and pooling.
Pinned to revision 2206a90dc255, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.