Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-30278

4K aria block size is no longer usable, bootstrap fails

    XMLWordPrintable

Details

    Description

      In 10.6+ table mysql.db has longer fields Host and User, and they together make table creation fail on the server with aria-block-size=4096:

      10.6 0a67daad

      $ scripts/mysql_install_db --aria-block-size=4096
      Installing MariaDB/MySQL system tables in './data' ...
      ERROR: 1071  Specified key was too long; max key length is 1233 bytes
      2022-12-20  2:57:46 0 [ERROR] Aborting
      

      And since it cannot be bootstrapped with this value, the server cannot be started with it either (control file mismatch).

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.