# MariaDB Node.js connector — card for AI agents

Fast connector for MariaDB and MySQL.

Category: Databases, ORMs and clients · npm package `mariadb` · latest version 3.5.4 (checked 2026-11-01)
Install: `npm install mariadb`
License: LGPL-2.1-or-later (weak-copyleft)

In your own product (generator, app, hosted service): **conditions**. Weak copyleft: fine inside a closed product, but changes to the library's own files stay under its license and must be shared.

## Numbers (AgentGid data)
- Gid Score: 38.2 (#3356 of all tools, 97 of 120 in its category)
- Used in 2 public projects set up for AI coding agents (0.0%)
- Downloads last week: 1,531,724 (as of 2026-11-24), +52.2% over 4 weeks
- GitHub stars: 413 (as of 2026-11-24)
- Last push: 2026-11-04

## Often used with
Express 71.4%, better-sqlite3 57.1%, crypto-js 57.1%, OpenAI 57.1%, Puppeteer 57.1%, cors 57.1%

## Checked alternatives (same job)
- mysql2: https://agentgid.com/tools/mysql2/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/mariadb/
- Homepage: https://github.com/mariadb-corporation/mariadb-connector-nodejs#readme
- Repository: https://github.com/mariadb-corporation/mariadb-connector-nodejs

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
