[MXS-399] maxadmin -p should behave same way as mysql/mariadb client Created: 2015-10-07  Updated: 2017-12-01  Resolved: 2016-11-11

Status: Closed
Project: MariaDB MaxScale
Component/s: maxadmin
Affects Version/s: None
Fix Version/s: 2.1.0

Type: New Feature Priority: Minor
Reporter: Joffrey MICHAIE (Inactive) Assignee: Esa Korhonen
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MXS-445 maxadmin -p is inconsistent with mysq... Closed
Sprint: 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


Generated at Thu Feb 08 03:59:00 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.