mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
CI: More testing with custom mysql.cnf file
This commit is contained in:
parent
2a24842734
commit
2e5e1de9ce
3 changed files with 34 additions and 12 deletions
5
.github/workflows/mysql.cnf
vendored
Normal file
5
.github/workflows/mysql.cnf
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[mysqld]
|
||||
character-set-server=utf8mb4
|
||||
collation-server=utf8mb4_unicode_ci
|
||||
innodb-default-row-format=DYNAMIC
|
||||
|
||||
4
.github/workflows/mysql_settings.py
vendored
4
.github/workflows/mysql_settings.py
vendored
|
|
@ -48,7 +48,9 @@ DATABASES = {
|
|||
"PORT": "", # use default port
|
||||
"OPTIONS": {
|
||||
"charset": "utf8mb4",
|
||||
# Note: MySQL server is configured with utf8mb4 and DYNAMIC row format at startup
|
||||
# Note: MySQL server global settings (character set, collation, row format) are set
|
||||
# in setup-database action before migrations run. The init_command sets per-connection
|
||||
# variables that don't require special privileges.
|
||||
"init_command": (
|
||||
"SET collation_connection=utf8mb4_unicode_ci, "
|
||||
"sql_mode='STRICT_TRANS_TABLES', innodb_strict_mode=1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue