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

maxadmin -p should behave same way as mysql/mariadb client

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 2.1.0
    • maxadmin
    • None
    • 2016-21

    Description

      Hi, can the maxadmin command with -p option (no password provided) behave the same way as mysql or mariadb client, which is to ask for a password, instead of the help error ?

      [root@vm-liv-olk-db-3 ~]# maxadmin -p
      maxadmin: option requires an argument – 'p'
      maxadmin Version 1.2.1
      The MaxScale administrative and monitor client.

      Usage: maxadmin [-u user] [-p password] [-h hostname] [-P port] [<command file> | <command>]

      u|-user=... The user name to use for the connection, default
      is admin.
      p|-password=... The user password, if not given the password will
      be prompted for interactively
      h|-hostname=... The maxscale host to connecto to. The default is
      localhost
      P|-port=... The port to use for the connection, the default
      port is 6603.
      v|-version print version information and exit
      ?|-help Print this help text.
      Any remaining arguments are treated as MaxScale commands or a file
      containing commands to execute.

      1. maxadmin
        Password:

      Thanks in advance,
      Joffrey

      Attachments

        Issue Links

          Activity

            People

              esa.korhonen Esa Korhonen
              joffrey Joffrey MICHAIE (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.