Skip to content

Commit

Permalink
Implemented the ability to change the port.
Browse files Browse the repository at this point in the history
  • Loading branch information
gixels committed Sep 22, 2021
1 parent 372a956 commit b8249d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit b8249d5

Please sign in to comment.