aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--query-executor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/query-executor.js b/query-executor.js
index 6ae9f4f..17b3ca5 100644
--- a/query-executor.js
+++ b/query-executor.js
@@ -11,7 +11,7 @@ const connectionConfig = remote.getCurrentWindow().connectionConfig;
const connectionPool = new Pool({
user: connectionConfig.username,
- host: connectionConfig.host,
+ host: connectionConfig.hostname,
database: connectionConfig.database,
password: connectionConfig.password,
port: connectionConfig.port