PAudit
Healy Health Audit Verified DB

mysql2

Version 3.16.3 • License MIT

One-Line Verdict

"Stable for production use."

npm install mysql2
View Alternatives
75% Healy Score

Maintenance

Caution

Actively Maintained

Security

5 CVE History

Historical vulnerabilities found.

Performance

516.5 KB

Light footprint.

Community

7,262,591

Highly Trusted

How much does mysql2 slow down your app?

516.5 KB

Package Payload

9 Direct

Dependency Hell Risk: High chain complexity.

Cold-Start Impact

+8 ms

Estimated execution overhead on standard hardware.

Security Intelligence

Current Threat Level

Risk Detected

Our audit detected 5 active or historical security flags. Critical CVEs have been mapped to this library.

Accuracy Protocol

Scanned against OSV.dev (Google Open Source) databases. Last Deep-Scan: 2026.

Alternatives Hub

Is mysql2 too heavy? Compare it with these industry standards:

What is mysql2?

"fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS"

mysql2 is used to facilitate high-performance Node.js workflows. It provides a slim footprint of 516.5 KB on disk.

Installation Guide

# Install via NPM

npm install mysql2

# Install via Yarn

yarn add mysql2

Knowledge Base

Where can I find security audits for mysql2?

You are currently viewing a proprietary security audit for mysql2 on PAudit. We aggregate global databases to provide a safety rating of 75/100.

How to use Node Package Manager to install mysql2?

Run npm install mysql2. This installs version 3.16.3 and adds 9 direct dependencies to your project.

Is mysql2 popular among Node developers?

Yes, mysql2 records 7,262,591 weekly downloads, making it a Highly Trusted part of the ecosystem.