What is the expected output of this command?

You have a login-path named “adamlocal” that was created by using the mysql_config_editor
command.
You need to check what is defined for this login_path to ensure that it is correct for you
deployment.
You execute this command:
$ mysql_config_editor print –login-path=adamlocal
What is the expected output of this command?

You have a login-path named “adamlocal” that was created by using the mysql_config_editor
command.
You need to check what is defined for this login_path to ensure that it is correct for you
deployment.
You execute this command:
$ mysql_config_editor print –login-path=adamlocal
What is the expected output of this command?

A.
The command prints all parameters for the login-path. The password is printed in plain text.

B.
The command prints all parameters for the login-path. The password is shown only when you
provide the –password option.

C.
The command prints all parameter for the login-path. The password is replaced with stars.

D.
The command prints the encrypted entry for the login-path. The is only possible to see if an
entry exists.

Explanation:



Leave a Reply 4

Your email address will not be published. Required fields are marked *


vc

vc

C

Output

mysql_config_editor print –login-path=adamlocal
[adamlocal]
user = adamlocal
password = *****
host = localhost

dash-68

dash-68

C is the right answer as I tested it

mysql_config_editor print –all
[client]
user = root
password = *****
host = localhost
socket = /u00/app/mysql/admin/mysqld3/socket/mysqld3.sock
port = 33003