Implemented the ability to change the port.

This commit is contained in:
gixels committed 2021-09-22 12:12:50 -04:00
1 parent 372a95632c
commit b8249d5457
1 file changed
+1
+1
View File
@@ -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',