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

store mysql_upgrade version info in system table instead of local file

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Currently mysql_upgrade stores version info in file $datadir/mysql_upgrade_info

      This has a set of disadvantages:

      • information is not accessible from the SQL level
      • when restoring a backup from an older server version the file information will not match the actual database version state
      • mysql_upgrade can only be executed successfully by an OS user with write access to the datadir
      • mysql_upgrade can perfectly perform its upgrade tasks while running remotely on a different host, but will write the version info file locally then

      All of these points would be solved if upgrade version information would be stored in a system table instead of a local file ...

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ralf.gebhardt@mariadb.com Ralf Gebhardt
              Reporter:
              hholzgra Hartmut Holzgraefe
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: