Test init_command for mysql initialization
This commit is contained in:
parent
2bc69e1f79
commit
83d643342e
1 changed files with 2 additions and 4 deletions
|
|
@ -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'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue