Had a typo in the mysql option copying

This commit is contained in:
Griatch 2024-06-27 19:27:17 +02:00
parent 081364bb2f
commit 5455979f87
2 changed files with 10 additions and 10 deletions

View file

@ -68,8 +68,8 @@ jobs:
- name: Set MySQL custom options - name: Set MySQL custom options
if: ${{ matrix.TESTING_DB == 'mysql' }} if: ${{ matrix.TESTING_DB == 'mysql' }}
run: | run: |
sudo cp ${{ github.workspace }}/.github/workflows/mysql_options.cnf /etc/mysql/custom.cnf sudo cp ${{ github.workspace }}/.github/workflows/mysql_options.cnf /etc/mysql/conf.d/custom.cnf
sudo chown -R mysql:mysql /etc/mysql/custom.cnf sudo chown -R mysql:mysql /etc/mysql/conf.d/custom.cnf
# - name: Set up database (${{ matrix.TESTING_DB }}) # - name: Set up database (${{ matrix.TESTING_DB }})
# uses: ./.github/actions/setup-database # uses: ./.github/actions/setup-database

View file

@ -48,15 +48,15 @@ DATABASES = {
"PORT": os.environ.get("MYSQL_PORT", "3306"), "PORT": os.environ.get("MYSQL_PORT", "3306"),
"OPTIONS": { "OPTIONS": {
"charset": "utf8mb4", "charset": "utf8mb4",
"init_command": "set collation_connection=utf8mb4_unicode_ci", # "init_command": "set collation_connection=utf8mb4_unicode_ci",
}, },
"TEST": { # "TEST": {
"NAME": "evennia", # "NAME": "evennia",
"OPTIONS": { # "OPTIONS": {
"charset": "utf8mb4", # "charset": "utf8mb4",
"init_command": "set collation_connection=utf8mb4_unicode_ci", # "init_command": "set collation_connection=utf8mb4_unicode_ci",
}, # },
}, # },
} }
} }