Browse files

Update lib/persistence.store.mysql.js

  • Loading branch information...
1 parent 848c6c8 commit 63d8fda5e5cf6ab1416fd044bddc8faf0c4535a4 @jacobmumm committed Nov 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/persistence.store.mysql.js
View
2 lib/persistence.store.mysql.js
@@ -18,7 +18,7 @@ function log(o) {
exports.config = function(persistence, hostname, port, db, username, password) {
exports.getSession = function(cb) {
var that = {};
- var conn = new mysql.Client();
+ var conn = mysql.createClient();
conn.host = hostname;
conn.port = port;
conn.user = username;

0 comments on commit 63d8fda

Please sign in to comment.