diff options
author | Erik Johnston <erik@matrix.org> | 2015-04-15 17:00:50 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-04-15 17:00:50 +0100 |
commit | ffad75bd6284873c27efb2cfdfdcf9f909eb9db3 (patch) | |
tree | a41d763e3e6893ef869865ca934c3339674e10b9 /synapse/app/homeserver.py | |
parent | Change full_schemas/11 to work with postgres (diff) | |
download | synapse-ffad75bd6284873c27efb2cfdfdcf9f909eb9db3.tar.xz |
Remove mysql/maria support
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-x | synapse/app/homeserver.py | 9 |
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({ |