MySQL2

NPM Versionarrow-up-right NPM Downloadsarrow-up-right Node.js Versionarrow-up-right GitHub Workflow Status (with event)arrow-up-right Codecovarrow-up-right Licensearrow-up-right

Englisharrow-up-right | 简体中文arrow-up-right | Português (BR)arrow-up-right

MySQL client for Node.js with focus on performance. Supports prepared statements, non-utf8 encodings, binary log protocol, compression, ssl much morearrow-up-right.

Table of Contents

History and Why MySQL2

MySQL2 project is a continuation of MySQL-Nativearrow-up-right. Protocol parser code was rewritten from scratch and api changed to match popular Node MySQLarrow-up-right. MySQL2 team is working together with Node MySQLarrow-up-right team to factor out shared code and move it under mysqljsarrow-up-right organization.

MySQL2 is mostly API compatible with Node MySQLarrow-up-right and supports majority of features. MySQL2 also offers these additional features:

Installation

MySQL2 is free from native bindings and can be installed on Linux, Mac OS or Windows without any issues.

If you are using TypeScript, you will need to install @types/node.

For TypeScript documentation and examples, see herearrow-up-right.

Documentation

Acknowledgements

Contributing

Want to improve something in MySQL2? Please check Contributing.mdarrow-up-right for detailed instruction on how to get started.

To contribute in MySQL2 Documentation, please visit the Website Contributing Guidelinesarrow-up-right for detailed instruction on how to get started.

Last updated