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]
|
[mysqld]
|
||||||
character-set-server = utf8
|
character-set-server = utf8mb4
|
||||||
collation-server = utf8_general_ci
|
collation-server = utf8mb4_unicode_ci
|
||||||
|
innodb_large_prefix = 1
|
||||||
|
innodb_file_format = Barracuda
|
||||||
|
innodb_file_per_table = 1
|
||||||
|
|
||||||
[mysql]
|
[mysql]
|
||||||
default-character-set = utf8
|
default-character-set = utf8mb4
|
||||||
|
|
||||||
[client]
|
[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"),
|
"HOST": os.environ.get("MYSQL_HOST", "127.0.0.1"),
|
||||||
"PORT": os.environ.get("MYSQL_PORT", "3306"),
|
"PORT": os.environ.get("MYSQL_PORT", "3306"),
|
||||||
"OPTIONS": {
|
"OPTIONS": {
|
||||||
"charset": "utf8", #"utf8mb4",
|
"charset": "utf8mb4",
|
||||||
"init_command": "set collation_connection=utf8_unicode_ci",
|
"init_command": "set collation_connection=utf8mb4_unicode_ci",
|
||||||
},
|
},
|
||||||
"TEST": {
|
"TEST": {
|
||||||
"NAME": "evennia",
|
"NAME": "evennia",
|
||||||
"OPTIONS": {
|
"OPTIONS": {
|
||||||
"charset": "utf8", # "utf8mb4",
|
"charset": "utf8mb4",
|
||||||
"init_command": "set collation_connection=utf8_unicode_ci",
|
"init_command": "set collation_connection=utf8mb4_unicode_ci",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue