mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Testing barracuda to extend mysql table sizes
This commit is contained in:
parent
79291e315a
commit
d1fdae493d
2 changed files with 11 additions and 8 deletions
11
.github/workflows/mysql_options.cnf
vendored
11
.github/workflows/mysql_options.cnf
vendored
|
|
@ -1,9 +1,12 @@
|
|||
[mysqld]
|
||||
character-set-server = utf8
|
||||
collation-server = utf8_general_ci
|
||||
character-set-server = utf8mb4
|
||||
collation-server = utf8mb4_unicode_ci
|
||||
innodb_large_prefix = 1
|
||||
innodb_file_format = Barracuda
|
||||
innodb_file_per_table = 1
|
||||
|
||||
[mysql]
|
||||
default-character-set = utf8
|
||||
default-character-set = utf8mb4
|
||||
|
||||
[client]
|
||||
default-character-set = utf8
|
||||
default-character-set = utf8mb4
|
||||
|
|
|
|||
8
.github/workflows/mysql_settings.py
vendored
8
.github/workflows/mysql_settings.py
vendored
|
|
@ -47,14 +47,14 @@ DATABASES = {
|
|||
"HOST": os.environ.get("MYSQL_HOST", "127.0.0.1"),
|
||||
"PORT": os.environ.get("MYSQL_PORT", "3306"),
|
||||
"OPTIONS": {
|
||||
"charset": "utf8", #"utf8mb4",
|
||||
"init_command": "set collation_connection=utf8_unicode_ci",
|
||||
"charset": "utf8mb4",
|
||||
"init_command": "set collation_connection=utf8mb4_unicode_ci",
|
||||
},
|
||||
"TEST": {
|
||||
"NAME": "evennia",
|
||||
"OPTIONS": {
|
||||
"charset": "utf8", # "utf8mb4",
|
||||
"init_command": "set collation_connection=utf8_unicode_ci",
|
||||
"charset": "utf8mb4",
|
||||
"init_command": "set collation_connection=utf8mb4_unicode_ci",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue