Skip to content

epurchasepower/node-mysql2

 
 

Repository files navigation

Node MySQL 2

NOTE: This fork is used to replace db-mysql for the development version of the daemon server.

NPM Version NPM Downloads Node.js Version Linux Build Windows Build License

MySql client for node.js. Written in native JavaScript and aims to be mostly api compatible with node-mysql

NPM NPM

Features and Documentation

  • Fast
  • Prepared Statements
  • Promise Wrapper
  • Authentication Switch
  • MySQL Server (API and Mocks)
  • Pooling
  • SSL
  • MySQL Compression
  • Binary Log Protocol Client

Please check documentation to get started.

Acknowledgements

  • Internal protocol is written by @sidorares MySQL-Native
  • Constants, SQL parameters interpolation, Pooling, ConnectionConfig class taken from node-mysql
  • SSL upgrade code based on @TooTallNate code
  • Secure connection / compressed connection api flags compatible to MariaSQL client.
  • Contributors

Contributing

Want to improve something in node-mysql2. Please check Contributing.md for detailed instruction on how to get started.

About

⚡ fast mysqljs/mysql compatible mysql driver for node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.6%
  • Other 0.4%