mysql2 npm documentation code example Example 1: npm mysql $ npm install mysql Example 2: npm install mysql2 npm install --save mysql2