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

ROW_FORMAT=COMPRESSED deprecated in MariaDB 10.6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a bug
    • Minor
    • None
    • 3.9.7, 3.10.4, 3.11
    • Database SQL/XMLDB
    • None
    • 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

              stronk7 Eloy Lafuente (stronk7)
              leonstr Leon Stringer
              Votes:
              12 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: