-
Bug
-
Resolution: Not a bug
-
Minor
-
None
-
3.9.7, 3.10.4, 3.11
-
None
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE
With MariaDB 10.6 tables using ROW_FORMAT=COMPRESSED are read-only so if you try to install Moodle with MariaDB 10.6 you get the error InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE.
The setting ROW_FORMAT=COMPRESSED is deprecated in MariaDB 10.6. This setting is scheduled to be removed in MariaDB 10.7.
This thread contains an example of this issue.
Workaround: Add innodb_read_only_compressed=OFF to the MariaDB configuration file and restart MariaDB, or run SET GLOBAL innodb_read_only_compressed=OFF.