1
0
mirror of https://github.com/searx/searx synced 2025-03-14 02:20:18 +01:00

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

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,
)