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

When "--help --verbose" prints out configuration file paths, the --defaults-file option is not considered

    XMLWordPrintable

Details

    Description

      mysqld and other utilities support the --help --verbose parameters. When these parameters are set, the utility will print out the configuration files that it reads:

      $ mysqld --help --verbose
      ...
      Default options are read from the following files in the given order:
      /etc/my.cnf ~/.my.cnf
      ...
      

      https://mariadb.com/kb/en/library/configuring-mariadb-with-option-files/#default-option-file-locations

      The default paths for configuration files can be overridden by using the --defaults-file option.

      https://mariadb.com/kb/en/library/configuring-mariadb-with-option-files/#custom-option-file-locations

      However, the --help --verbose parameters do not seem to take this option into account when printing configuration file paths:

      $ mysqld --defaults-file=/tmp/my.cnf --help --verbose
      ...
      Default options are read from the following files in the given order:
      /etc/my.cnf ~/.my.cnf
      ...
      

      Attachments

        Activity

          People

            anel Anel Husakovic
            GeoffMontee Geoff Montee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 5h
                5h

                Git Integration

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