Skip to content
Browse files

createClient -> createConnection

fix after node-mysql lib changed: felixge/node-mysql@e44d0fd#index.js
  • Loading branch information...
1 parent 8cdbfaf commit abb71d2b353202b29e21b3c318537851cf695dc3 @slonoed slonoed committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 migrate.js
View
2 migrate.js
@@ -986,7 +986,7 @@ function main() {
var Connect = {
mysql: function() {
// Create the client
- client = new require('mysql').createClient(config.mysql);
+ client = new require('mysql').createConnection(config.mysql);
client.query("show tables;", function(err, result, fields) {
if (err)

0 comments on commit abb71d2

Please sign in to comment.
Something went wrong with that request. Please try again.