Test init_command for mysql initialization

This commit is contained in:
Griatch 2019-03-20 23:14:28 +01:00
parent 2bc69e1f79
commit 83d643342e

View file

@ -47,14 +47,12 @@ DATABASES = {
'HOST': 'localhost', 'HOST': 'localhost',
'PORT': '', # use default port 'PORT': '', # use default port
'OPTIONS': { 'OPTIONS': {
'ENCODING': 'utf8mb4', 'init_command': 'SET collation_connection = utf8_general_ci'
'COLLATION': 'utf8mb4_unicode_ci'
}, },
'TEST': { 'TEST': {
'NAME': 'default', 'NAME': 'default',
'OPTIONS': { 'OPTIONS': {
'ENCODING': 'utf8mb4', 'init_command': 'SET collation_connection = utf8_general_ci'
'COLLATION': 'utf8mb4_unicode_ci'
} }
} }
} }