Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. MySQL
  3. MySQL Connector/Node.js

MySQL Connector/Node.js

NOASSERTIONJavaScript

Official MySQL 8 driver for Node.js implementing the X DevAPI for NoSQL document store operations.

GitHubGitHub
160 stars34 forks0 contributors

What is MySQL Connector/Node.js?

MySQL Connector/Node.js is the official MySQL 8 driver for Node.js applications, developed and maintained by Oracle. It implements the X DevAPI to provide both SQL and NoSQL access to MySQL databases, specifically enabling interaction with the MySQL Document Store through CRUD-based operations. This allows developers to work with JSON documents in a NoSQL fashion while still leveraging MySQL's relational capabilities.

Target Audience

Node.js developers building applications that need to connect to MySQL 8 databases, particularly those wanting to use the MySQL Document Store for NoSQL document operations alongside traditional SQL queries.

Value Proposition

Developers choose this connector because it's the officially supported MySQL driver for Node.js, ensuring reliability, compatibility, and direct support from Oracle. Its implementation of the X DevAPI provides a modern, unified interface for both document and relational data access within MySQL 8.

Overview

MySQL Connector Node.JS is a MySQL Connector using the X Protocol, which was introduced with MySQL 5.7.12.

Use Cases

Best For

  • Building Node.js applications that require official MySQL 8 database connectivity
  • Implementing NoSQL document storage using MySQL's Document Store features
  • Developing applications that need hybrid SQL and NoSQL data access patterns
  • Projects requiring Oracle-supported MySQL drivers for production environments
  • Migrating existing MySQL applications to Node.js with modern API access
  • Leveraging MySQL 8's JSON capabilities through a fluent, CRUD-based interface

Not Ideal For

  • Projects using MySQL versions older than 8.0 (e.g., 5.x)
  • Teams that rely strictly on Semantic Versioning for dependency management
  • Applications needing only basic SQL access without NoSQL or Document Store features

Pros & Cons

Pros

Official Oracle Support

Maintained directly by Oracle, ensuring reliability, compatibility, and regular updates for MySQL 8, as stated in the GitHub description.

Modern X DevAPI

Implements the X DevAPI for a fluent, CRUD-based interface, enabling NoSQL operations on the MySQL Document Store alongside traditional SQL access.

Cross-Platform Compatibility

Runs on any operating system with Node.js 14.0.0 or higher, making it versatile for different deployment environments.

Hybrid Data Access

Bridges relational and document-oriented models, allowing developers to leverage MySQL 8's JSON capabilities through a unified API.

Cons

Non-Semantic Versioning

Releases do not follow Semantic Versioning rules, complicating dependency management and requiring lockfiles, as warned in the README.

MySQL 8 Exclusive

Only compatible with MySQL 8 databases, limiting use with older versions or other database systems, which restricts migration options.

Complexity Overhead

For SQL-only use cases, the X DevAPI and Document Store features add unnecessary learning curve and bloat compared to simpler drivers like mysql2.

Frequently Asked Questions

Quick Stats

Stars160
Forks34
Contributors0
Open Issues0
Last commit1 year ago
CreatedSince 2016

Tags

#x-devapi#database-driver#document-store#nosql#database-connector#nodejs#mysql

Built With

N
Node.js

Included in

MySQL2.6k
Auto-fetched 18 hours ago

Related Projects

MySQLMySQL

A pure node.js JavaScript Client implementing the MySQL protocol.

Stars18,623
Forks2,519
Last commit2 years ago
go-sql-drivergo-sql-driver

Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package

Stars15,276
Forks2,329
Last commit1 day ago
pymysqlpymysql

MySQL client library for Python

Stars7,844
Forks1,440
Last commit2 days ago
mysqlclientmysqlclient

MySQL/MariaDB connector for Python

Stars2,531
Forks445
Last commit28 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub