不要怂,就是干,撸起袖子干!

Commit 1a1ddd02 by Jan Aagaard Meier

Merge pull request #1248 from mithrandirii/master

. fix unixSocket connection for mariadb
2 parents 98b4637f 3660aee8
Showing with 5 additions and 0 deletions
......@@ -269,6 +269,11 @@ module.exports = (function() {
})
}
if (connectionConfig.unixSocket) {
delete connectionConfig.host;
delete connectionConfig.port;
}
client = new mariadb()
client.connect(connectionConfig)
client
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!