Merge pull request #742 from return42/mysql

[mod] engine mysql_server: make port configurable
This commit is contained in:
Alexandre Flament 2022-01-15 21:35:34 +01:00 committed by GitHub
commit 32874dbf7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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