summary refs log tree commit diff
path: root/synapse/app/homeserver.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-04-15 17:00:50 +0100
committerErik Johnston <erik@matrix.org>2015-04-15 17:00:50 +0100
commitffad75bd6284873c27efb2cfdfdcf9f909eb9db3 (patch)
treea41d763e3e6893ef869865ca934c3339674e10b9 /synapse/app/homeserver.py
parentChange full_schemas/11 to work with postgres (diff)
downloadsynapse-ffad75bd6284873c27efb2cfdfdcf9f909eb9db3.tar.xz
Remove mysql/maria support
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-xsynapse/app/homeserver.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index f8a33120b5..93500dd791 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -366,14 +366,7 @@ def setup(config_options):
     }
 
     name = db_config.get("name", None)
-    if name in ["MySQLdb", "mysql.connector"]:
-        db_config.setdefault("args", {}).update({
-            "sql_mode": "TRADITIONAL",
-            "charset": "utf8mb4",
-            "use_unicode": True,
-            "collation": "utf8mb4_bin",
-        })
-    elif name == "psycopg2":
+    if name == "psycopg2":
         pass
     elif name == "sqlite3":
         db_config.setdefault("args", {}).update({