Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-72131

ROW_FORMAT=COMPRESSED deprecated in MariaDB 10.6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.7, 3.10.4, 3.11
    • Fix Version/s: None
    • Component/s: Database SQL/XMLDB
    • Labels:
      None
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              leonstr Leon Stringer
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              9 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated: