content_image/833402.jpg content_image/833403.jpg
• --defaults-group-suffix= str 

Read not only the usual option groups, but also groups with the usual names and a suffix of str . For example, mysql_migrate_keyring  normally reads the [mysql_migrate_keyring]  group. If this option is given as --defaults-group-suffix=_other , mysql_migrate_keyring  also reads the [mysql_migrate_keyring_other]  group. 

For additional information about this and other option-file options, see Section 4.2.2.3, “Command-Line Options that Affect Option-File Handling” . 

• --destination-keyring= name 

The destination keyring component for key migration. The format and interpretation of the option value is the same as described for the --source-keyring  option. 

<img src='content_image/833402.jpg'>

• --destination-keyring-configuration-dir= dir_name 

<img src='content_image/833403.jpg'>

## Note 

--component-dir , --source-keyring , and --destination- keyring  are mandatory for all keyring migration operations performed by mysql_migrate_keyring . In addition, the source and destination components must differ, and both components must be properly configured so that mysql_migrate_keyring  can load and use them. 

This option applies only if the destination keyring component global configuration file contains "read_local_config": true , indicating that component configuration is contained in the local configuration file. The option value specifies the directory containing that local file. 

• --get-server-public-key 

Request from the server the public key required for RSA key pair-based password exchange. This option applies to clients that authenticate with the caching_sha2_password  authentication plugin. For that plugin, the server does not send the public key unless requested. This option is ignored for accounts that do not authenticate with that plugin. It is also ignored if RSA-based password exchange is not used, as is the case when the client connects to the server using a secure connection. 

If --server-public-key-path= file_name  is given and specifies a valid public key file, it takes precedence over --get-server-public-key . 

For information about the caching_sha2_password  plugin, see Section 6.4.1.2, “Caching SHA-2 Pluggable Authentication” . 

• --host= host_name , -h host_name 

The host location of the running server that is currently using one of the key migration keystores. Migration always occurs on the local host, so the option always specifies a value for connecting to a local server, such as localhost , 127.0.0.1 , ::1 , or the local host IP address or host name. 

• --login-path= name 

Read options from the named login path in the .mylogin.cnf  login path file. A “login path”  is an option group containing options that specify which MySQL server to connect to and which account to 

