Skip to content

Commit

Permalink
feat: add mysql8 support and update to mysql2 client [BREAKING CHANGE]
Browse files Browse the repository at this point in the history
Signed-off-by: Samarpan Bhattacharya <[email protected]>
  • Loading branch information
samarpanB committed Jun 18, 2023
1 parent edf176b commit c6a9a01
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 47 deletions.
2 changes: 1 addition & 1 deletion lib/mysql.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const g = require('strong-globalize')();
/*!
* Module dependencies
*/
const mysql = require('mysql');
const mysql = require('mysql2');

const SqlConnector = require('loopback-connector').SqlConnector;
const ParameterizedSQL = SqlConnector.ParameterizedSQL;
Expand Down
210 changes: 165 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"debug": "^4.1.1",
"lodash": "^4.17.11",
"loopback-connector": "^5.2.0",
"mysql": "^2.11.1",
"mysql2": "^3.3.5",
"strong-globalize": "^6.0.4"
},
"devDependencies": {
Expand Down

0 comments on commit c6a9a01

Please sign in to comment.