aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/utils/db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/utils/db.py b/python/utils/db.py
index ff296a46..8e820937 100644
--- a/python/utils/db.py
+++ b/python/utils/db.py
@@ -58,7 +58,7 @@ def dbengine(dbname, cursor_factory=NamedTupleCursor):
database=dbname,
query={
"option_files": os.path.expanduser("~/.my.cnf"),
- "collation": "utf8mb4_0900_ai_ci",
+ "charset": "utf8mb4",
},
)
return create_engine(uri, paramstyle="format")