Add my.conf file do mysql test
This commit is contained in:
parent
83d643342e
commit
c74fa3f725
3 changed files with 11 additions and 11 deletions
1
.travis/my.conf
Normal file
1
.travis/my.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
init_connect='SET collation_connection = utf8_general_ci; SET NAMES utf8;'
|
||||
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue