Had a typo in the mysql option copying
This commit is contained in:
parent
081364bb2f
commit
5455979f87
2 changed files with 10 additions and 10 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
16
.github/workflows/mysql_settings.py
vendored
16
.github/workflows/mysql_settings.py
vendored
|
|
@ -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",
|
||||||
},
|
# },
|
||||||
},
|
# },
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue