Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-3405

Can't split [maxscale] section settings across two config files

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Do
    • 2.4.15, 2.5.7
    • N/A
    • N/A
    • None
    • MXS-SPRINT-174, MXS-SPRINT-175

    Description

      With MariaDB server I can split the [mysqld] config section across several configuration files that get included by the main my.cnf

      With maxscale this is not possible. E.g. having /etc/maxscale.cnf
      with:

      [maxscale]
      threads=auto
      

      and extra /etc/maxscale.cnf.d/log-settings.cnf

      with

      [maxscale]
      log_info=1
      

      leads to startup failure:

      Feb 11 14:06:24 maxscale maxscale[9869]: Loading /etc/maxscale.cnf.
      Feb 11 14:06:24 maxscale maxscale[9869]: Loading /etc/maxscale.cnf.d/extra.cnf.
      Feb 11 14:06:24 maxscale maxscale[9869]: Duplicate section found: maxscale
      Feb 11 14:06:24 maxscale maxscale[9869]: Failed to open, read or process the Max
      

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            hholzgra Hartmut Holzgraefe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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