allow socketPath for mysql config
This commit is contained in:
parent
91cde064a6
commit
fe4f19106a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue