sidorares/node-mysql2
Some data may be outdated — see provenance labels.
:zap: fast mysqljs/mysql compatible mysql driver for node.js observed · 2026-09-28
Health v2 · maintenance only
96/100
- Activity 96
- Release rhythm 94
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 7.0
- age_days: 4934
- days_rel: 43
- days_push: 26
- n_releases_24m: 49
Adoption not part of the score
4386 stars · 680 forks observed · 2026-09-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
MySQL2 is a fast, MySQL-compatible database driver for Node.js, largely API-compatible with mysqljs/mysql. It supports prepared statements, connection pooling, streaming, and a promise-based API.
Use cases
- connect to a MySQL database from Node.js
- run parameterized queries with prepared statements
- manage a pool of MySQL connections for a web app
- drop-in replacement for mysqljs/mysql with better performance
- stream large MySQL query results
- use MySQL with async/await via promise wrapper
When to choose
- you need a MySQL or MariaDB driver in Node.js
- you want mysqljs/mysql compatibility with prepared statements and promises
- performance-sensitive database access is required
When to avoid
- you use PostgreSQL or another non-MySQL database
- you need an ORM rather than a raw driver
- you are not on Node.js
Facets
library · maturity stable
database-driver database databases backend web-development cross-platform mysql sql prepared-statements connection-pooling promise-api typescript nodejs
2 sources
- readme: https://github.com/sidorares/node-mysql2 · fetched 2026-09-28 · 79f80d5c55c6
- homepage: https://sidorares.github.io/node-mysql2/ · fetched 2026-08-29 · 6e0385fee952
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sidorares/node-mysql2 | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="sidorares/node-mysql2")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem