From 0f0088cd9bf7cd2031f7404c281b77fe776f5814 Mon Sep 17 00:00:00 2001 From: Griatch Date: Fri, 19 Dec 2025 10:16:37 +0100 Subject: [PATCH] CI: Trying to get custom sql setup into the mysql testdb --- .github/actions/setup-database/action.yml | 12 +++++++++++- .github/workflows/github_action_test_suite.yml | 2 +- .github/workflows/mysql_settings.py | 4 ++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/actions/setup-database/action.yml b/.github/actions/setup-database/action.yml index 3bfce31d1b..0759914e25 100644 --- a/.github/actions/setup-database/action.yml +++ b/.github/actions/setup-database/action.yml @@ -51,6 +51,12 @@ runs: SET GLOBAL character_set_server = 'utf8mb4'; SET GLOBAL collation_server = 'utf8mb4_unicode_ci'; EOF + # Set InnoDB settings for utf8mb4 support (allows longer keys) + # Note: innodb_large_prefix is ON by default in MySQL 8.0 + # Ensure default row format is DYNAMIC (default in MySQL 8.0, but explicit for clarity) + mysql -u root -proot_password -h 127.0.0.1 mysql <