Skip to content

Commit

Permalink
Use node-mysql instead
Browse files Browse the repository at this point in the history
  • Loading branch information
welefen committed Aug 1, 2016
1 parent 97da142 commit 3989c5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"ejs": "2.4.1",
"multiparty": "4.1.2",
"mime": "1.3.4",
"mysql2": "1.0.0-rc.1",
"mysql": "2.11.1",
"thinkit": "4.9.0",
"babel-runtime": "6.6.1",
"bluebird": "3.3.5",
Expand Down
2 changes: 1 addition & 1 deletion src/adapter/socket/mysql.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default class extends Base {
return think.error(promise, err);
}

let mysql = await think.npm('mysql2');
let mysql = await think.npm('mysql');

if (config.connectionLimit) {
this.logConnect(str, 'mysql');
Expand Down

0 comments on commit 3989c5e

Please sign in to comment.