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

mysqld to create recreate it's own system table at startup

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      This is over complicated to have extra binary and different method to bootstrap MariaDB
      Just a quick example is our install for binary

      shell> chown -R mysql .
      shell> chgrp -R mysql .
      shell> scripts/mysql_install_db --user=mysql
      shell> chown -R root .
      shell> chown -R mysql data
      shell> bin/mysqld_safe --user=mysql &

      It contain to many steps that overlab the job to provide a configuration file
      When it comes to scripts/mysql_install_db where is this script in rpm , binary , source , oeach os may complexify any bootstrap solution that would only have to ask the path of the mysqld server to enable first install

      This task would be to implement
      mariadbd --bootstrap-system --user=mariadb --datadir=/var/lib/mariadb that would
      where mariadb is binary and mysqld a symlink to it to keep existing compatibility with the past

      --bootstrap-system would create or replace all system tables including detaching and recreating innodb system tables if needed

      Attachments

        Activity

          People

            Unassigned Unassigned
            stephane@skysql.com VAROQUI Stephane
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.