Experimenting with other encodings for mysql

This commit is contained in:
Griatch 2024-06-27 19:08:27 +02:00
parent 6b984a4faa
commit bce5fb0521
3 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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",