From b8249d5457fba3aaca31f168c4834a4aae970641 Mon Sep 17 00:00:00 2001 From: gixels Date: Wed, 22 Sep 2021 12:12:50 -0400 Subject: [PATCH] Implemented the ability to change the port. --- src/pool.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pool.js b/src/pool.js index c473ec9..c973d81 100644 --- a/src/pool.js +++ b/src/pool.js @@ -4,6 +4,7 @@ import { parseTypes } from './parser'; export const pool = createPool({ host: config.hosts[0].host || 'localhost', + port: config.hosts[0].port || 3306, user: config.username || 'root', password: config.password || '', database: config.endpoint || 'es_extended',