From 363296022d5581c3f44bc58cb6049daeaf2cf80b Mon Sep 17 00:00:00 2001 From: Griatch Date: Fri, 19 Dec 2025 13:12:19 +0100 Subject: [PATCH] CI: Reverting and moving to SQL --- .github/actions/setup-database/action.yml | 13 +++++++++---- .github/workflows/github_action_test_suite.yml | 1 - 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup-database/action.yml b/.github/actions/setup-database/action.yml index 922d723f64..92aafb7132 100644 --- a/.github/actions/setup-database/action.yml +++ b/.github/actions/setup-database/action.yml @@ -43,11 +43,16 @@ runs: echo "MySQL is ready" shell: bash - - name: Set up MySQL Privileges + - name: Set up MySQL Configuration and Privileges if: ${{ inputs.database == 'mysql' }} run: | - # Note: MySQL server configuration (character set, collation, row format) is set - # at container startup via the mysql.cnf config file mounted in the workflow + # Set MySQL global variables for character set, collation, and row format + # These must be set before migrations run to ensure tables are created with correct settings + mysql -u root -proot_password -h 127.0.0.1 mysql < /etc/mysql/conf.d/custom.cnf && exec /usr/local/bin/docker-entrypoint.sh mysqld\"" steps: - uses: actions/checkout@v4