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

MaxScale 2.0.1 doesn't recognize user and passwd options in .maxadmin file

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2, 2.1.0
    • maxadmin
    • None

    Description

      With 2.0.1 we get:

      $ maxadmin
      WARNING: Unrecognised parameter 'user' in .maxadmin file
      WARNING: Unrecognised parameter 'passwd' in .maxadmin file
      Unable to connect to MaxScale at /tmp/maxadmin.sock: No such file or directory
      

      This worked with MaxScale 1.4.3. It seems in 2.0.1 we have to specify the user and password on the command-line (after upgrade or if we do not rely on UNIX domain sockets only):

      $ maxadmin --user=my_user --password=my_pw
      WARNING: Unrecognised parameter 'user' in .maxadmin file
      WARNING: Unrecognised parameter 'passwd' in .maxadmin file
      MaxScale> 
      

      As the old internet socket based communication was put back in 2.0.1, we should put back processing of user and passwd settings from .maxadmin.

      Side note: This KB article:

      https://mariadb.com/kb/en/mariadb-enterprise/reference-maxadmin/#configuring

      also needs clarifications on what is supposed to be recognized in .maxadmin file and in what exact 2.0.x versions.

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            valerii Valerii Kravchuk
            Votes:
            2 Vote for this issue
            Watchers:
            4 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.