From fe4f19106a2cb87f4cbed94bc891488f6afc9fd7 Mon Sep 17 00:00:00 2001 From: Tim Griesser Date: Wed, 12 Dec 2012 15:16:23 -0500 Subject: [PATCH] allow socketPath for mysql config --- lib/adapters/mysql.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/adapters/mysql.js b/lib/adapters/mysql.js index 5d464029..8c47debf 100644 --- a/lib/adapters/mysql.js +++ b/lib/adapters/mysql.js @@ -15,7 +15,8 @@ exports.initialize = function initializeSchema(schema, callback) { port: s.port || 3306, user: s.username, password: s.password, - debug: s.debug + debug: s.debug, + socketPath: s.socketPath }); schema.adapter = new MySQL(schema.client);