summaryrefslogtreecommitdiff
path: root/searx/engines/mysql_server.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/mysql_server.py')
-rw-r--r--searx/engines/mysql_server.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/searx/engines/mysql_server.py b/searx/engines/mysql_server.py
index 369b2b7fe..30d59332e 100644
--- a/searx/engines/mysql_server.py
+++ b/searx/engines/mysql_server.py
@@ -34,12 +34,25 @@ except ImportError:
engine_type = 'offline'
auth_plugin = 'caching_sha2_password'
+
host = "127.0.0.1"
+"""Hostname of the DB connector"""
+
port = 3306
+"""Port of the DB connector"""
+
database = ""
+"""Name of the database."""
+
username = ""
+"""Username for the DB connection."""
+
password = ""
+"""Password for the DB connection."""
+
query_str = ""
+"""SQL query that returns the result items."""
+
limit = 10
paging = True
result_template = 'key-value.html'