Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #10 from philippkueng/master

updated client creation process to work with newer versions of the mysql npm package
  • Loading branch information...
commit 044a290bde264e02a905e2c6b73675acadd1e9af 2 parents efda595 + 48b9666
Ryan Sandor Richards authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 migrate.js
5 migrate.js
View
@@ -807,10 +807,7 @@ function main() {
var Connect = {
mysql: function() {
// Create the client
- client = new require('mysql').Client(config.mysql);
-
- // Attempt to connect to the db
- client.connect();
+ client = new require('mysql').createClient(config.mysql);
client.query("show tables;", function(err, result, fields) {
if (err)
Please sign in to comment.
Something went wrong with that request. Please try again.