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
if: ${{ matrix.TESTING_DB == 'mysql' }}
run: |
sudo cp ${{ github.workspace }}/.github/workflows/mysql_options.cnf /etc/mysql/custom.cnf
sudo chown -R mysql:mysql /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/conf.d/custom.cnf
# - name: Set up database (${{ matrix.TESTING_DB }})
# uses: ./.github/actions/setup-database

View file

@ -48,15 +48,15 @@ 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",
"OPTIONS": {
"charset": "utf8mb4",
"init_command": "set collation_connection=utf8mb4_unicode_ci",
},
},
# "TEST": {
# "NAME": "evennia",
# "OPTIONS": {
# "charset": "utf8mb4",
# "init_command": "set collation_connection=utf8mb4_unicode_ci",
# },
# },
}
}