summaryrefslogtreecommitdiff
path: root/searx/settings.yml
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2021-03-28 21:31:14 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-05-28 17:36:46 +0200
commit87a01a173663051b542b45c8092110c4877dc8e9 (patch)
tree018aa7a048ec3b8290eb22ec9b59dadbf74ddeb6 /searx/settings.yml
parent324aa96062cf8fe27504521989e12349ee917e3f (diff)
downloadsearxng-87a01a173663051b542b45c8092110c4877dc8e9.tar.gz
searxng-87a01a173663051b542b45c8092110c4877dc8e9.zip
[enh] add MySQL engine
Slightly modified merge of [c00a33fe] from searx. [c00a33fe] https://github.com/searx/searx/commit/c00a33feee0886dc2b42f4c7b43731210597e5b7 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/settings.yml')
-rw-r--r--searx/settings.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index c706c853c..7b9c5968e 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -1225,6 +1225,16 @@ engines:
# See : http://mymemory.translated.net/doc/usagelimits.php
# api_key : ''
+# Required dependency: mysql-connector-python
+# - name : mysql
+# engine : mysql_server
+# database : mydatabase
+# username : user
+# password : pass
+# limit : 10
+# query_str : 'SELECT * from mytable WHERE fieldname=%(query)s'
+# shortcut : mysql
+
- name : 1337x
engine : 1337x
shortcut : 1337x