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