Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

fix after node-mysql lib changed #13

Merged
merged 1 commit into from

2 participants

@slonoed

fix after node-mysql lib changed:
felixge/node-mysql@e44d0fd#index.js

@rsandor rsandor merged commit 5e4ed03 into rsandor:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 23, 2012
  1. @slonoed

    createClient -> createConnection

    slonoed authored
    fix after node-mysql lib changed: felixge/node-mysql@e44d0fd#index.js
This page is out of date. Refresh to see the latest.
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)
Something went wrong with that request. Please try again.