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

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

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.4.15, 2.5.7
    • Fix Version/s: Icebox
    • Component/s: None
    • Labels:
      None

      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

            Assignee:
            toddstoffel Todd Stoffel
            Reporter:
            hholzgra Hartmut Holzgraefe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration