Skip to content

Commit cce00b9

Browse files
committed
Fix: Use port for mysql pool creation
1 parent 286ba16 commit cce00b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/module-mysql/src/utils/mysql-utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export function createPool(config: types.NormalizedMySQLConnectionConfig, option
4141
return mysql.createPool({
4242
host: config.hostname,
4343
user: config.username,
44+
port: config.port,
4445
password: config.password,
4546
database: config.database,
4647
ssl: hasSSLOptions ? sslOptions : undefined,

0 commit comments

Comments
 (0)