allow socketPath for mysql config

This commit is contained in:
Tim Griesser 2012-12-12 15:16:23 -05:00
parent 91cde064a6
commit fe4f19106a
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ exports.initialize = function initializeSchema(schema, callback) {
port: s.port || 3306, port: s.port || 3306,
user: s.username, user: s.username,
password: s.password, password: s.password,
debug: s.debug debug: s.debug,
socketPath: s.socketPath
}); });
schema.adapter = new MySQL(schema.client); schema.adapter = new MySQL(schema.client);