mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Experimenting with other encodings for mysql
This commit is contained in:
parent
6b984a4faa
commit
bce5fb0521
3 changed files with 6 additions and 6 deletions
|
|
@ -65,7 +65,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Copy custom MySQL option file
|
||||
- name: Set MySQL custom options
|
||||
if: ${{ matrix.TESTING_DB == 'mysql' }}
|
||||
run: |
|
||||
sudo cp ${{ github.workspace }}/.github/workflows/mysql_options.cnf /etc/mysql/custom.cnf
|
||||
|
|
|
|||
8
.github/workflows/mysql_options.cnf
vendored
8
.github/workflows/mysql_options.cnf
vendored
|
|
@ -1,9 +1,9 @@
|
|||
[mysqld]
|
||||
character-set-server = utf8mb4
|
||||
collation-server = utf9mb4_unicode_ci
|
||||
character-set-server = utf8
|
||||
collation-server = utf8_general_ci
|
||||
|
||||
[mysql]
|
||||
default-character-set = utf8mb4
|
||||
default-character-set = utf8
|
||||
|
||||
[client]
|
||||
default-character-set = utf8mb4
|
||||
default-character-set = utf8
|
||||
|
|
|
|||
2
.github/workflows/mysql_settings.py
vendored
2
.github/workflows/mysql_settings.py
vendored
|
|
@ -48,7 +48,7 @@ DATABASES = {
|
|||
"PORT": os.environ.get("MYSQL_PORT", "3306"),
|
||||
"OPTIONS": {
|
||||
"charset": "utf8mb4",
|
||||
# "init_command": "set collation_connection=utf8mb4_unicode_ci",
|
||||
"init_command": "set collation_connection=utf8mb4_unicode_ci",
|
||||
},
|
||||
# "TEST": {
|
||||
# "NAME": "evennia",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue