Add my.conf file do mysql test

This commit is contained in:
Griatch 2019-03-21 09:37:20 +01:00
parent 83d643342e
commit c74fa3f725
3 changed files with 11 additions and 11 deletions

1
.travis/my.conf Normal file
View file

@ -0,0 +1 @@
init_connect='SET collation_connection = utf8_general_ci; SET NAMES utf8;'

View file

@ -47,12 +47,12 @@ DATABASES = {
'HOST': 'localhost',
'PORT': '', # use default port
'OPTIONS': {
'init_command': 'SET collation_connection = utf8_general_ci'
'read_default_file': '.travis/my.conf'
},
'TEST': {
'NAME': 'default',
'OPTIONS': {
'init_command': 'SET collation_connection = utf8_general_ci'
'read_default_file': '.travis/my.conf'
}
}
}