Official MySQL 8 driver for Node.js implementing the X DevAPI for NoSQL document store operations.
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.
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.
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.
MySQL Connector Node.JS is a MySQL Connector using the X Protocol, which was introduced with MySQL 5.7.12.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Maintained directly by Oracle, ensuring reliability, compatibility, and regular updates for MySQL 8, as stated in the GitHub description.
Implements the X DevAPI for a fluent, CRUD-based interface, enabling NoSQL operations on the MySQL Document Store alongside traditional SQL access.
Runs on any operating system with Node.js 14.0.0 or higher, making it versatile for different deployment environments.
Bridges relational and document-oriented models, allowing developers to leverage MySQL 8's JSON capabilities through a unified API.
Releases do not follow Semantic Versioning rules, complicating dependency management and requiring lockfiles, as warned in the README.
Only compatible with MySQL 8 databases, limiting use with older versions or other database systems, which restricts migration options.
For SQL-only use cases, the X DevAPI and Document Store features add unnecessary learning curve and bloat compared to simpler drivers like mysql2.