From 035ff3e99e6b6dc5f1969eb43ac7807077b741ba Mon Sep 17 00:00:00 2001 From: Griatch Date: Wed, 20 Mar 2019 23:14:28 +0100 Subject: [PATCH] Test init_command for mysql initialization --- .travis/mysql_settings.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis/mysql_settings.py b/.travis/mysql_settings.py index a63c07e3e6..79e709af71 100644 --- a/.travis/mysql_settings.py +++ b/.travis/mysql_settings.py @@ -47,14 +47,12 @@ DATABASES = { 'HOST': 'localhost', 'PORT': '', # use default port 'OPTIONS': { - 'ENCODING': 'utf8mb4', - 'COLLATION': 'utf8mb4_unicode_ci' + 'init_command': 'SET collation_connection = utf8_general_ci' }, 'TEST': { 'NAME': 'default', 'OPTIONS': { - 'ENCODING': 'utf8mb4', - 'COLLATION': 'utf8mb4_unicode_ci' + 'init_command': 'SET collation_connection = utf8_general_ci' } } }