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

Commit 3660aee8 by dominik zunftmeister

. fix unixSocket connection for mariadb

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