nerdexam
Oracle

1Z0-883 · Question #62

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…

The correct answer is C. The command prints all parameter for the login-path. The password is replaced with stars. To see what mysql_config_editor wrote to the .mylogin.cnf file, use the print command: shell> mysql_config_editor print -all user = localuser password = ** host = localhost user = remoteuser password = ** host = remote.example.com

MySQL Security

Question

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?

Options

  • AThe command prints all parameters for the login-path.
  • BThe command prints all parameters for the login-path.
  • CThe command prints all parameter for the login-path. The password is replaced with stars.
  • DThe command prints the encrypted entry for the login-path. The is only possible to see if an entry exists.

How the community answered

(33 responses)
  • A
    3% (1)
  • B
    6% (2)
  • C
    79% (26)
  • D
    12% (4)

Explanation

To see what mysql_config_editor wrote to the .mylogin.cnf file, use the print command: shell> mysql_config_editor print -all user = localuser password = ***** host = localhost user = remoteuser password = ***** host = remote.example.com

Topics

#mysql_config_editor#login-path#password security#client configuration

Community Discussion

No community discussion yet for this question.

Full 1Z0-883 Practice