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 <