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