make port configurable in MySQL engine

Closes #3117
This commit is contained in:
Noémi Ványi 2022-01-11 22:49:53 +01:00
parent 8f07442fb6
commit 82ac634070
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import mysql.connector
engine_type = 'offline'
auth_plugin = 'caching_sha2_password'
host = "127.0.0.1"
port = 3306
database = ""
username = ""
password = ""
@ -36,6 +37,7 @@ def init(engine_settings):
user=username,
password=password,
host=host,
port=port,
auth_plugin=auth_plugin,
)