content_image/778697.jpg content_image/778712.jpg
<img src='content_image/778697.jpg'>

• --help , -h 

Display a help message and exit. 

• --component-dir= dir_name 

The directory where keyring components are located. This is typically the value of the plugin_dir system variable for the local MySQL server. 

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

• --defaults-extra-file= file_name 

## 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. 

Read this option file after the global option file but (on Unix) before the user option file. If the file does not exist or is otherwise inaccessible, an error occurs. If file_name  is not an absolute path name, it is interpreted relative to the current directory. 

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

• --defaults-file= file_name 

Use only the given option file. If the file does not exist or is otherwise inaccessible, an error occurs. If file_name  is not an absolute path name, it is interpreted relative to the current directory. 

Exception: Even with --defaults-file , client programs read .mylogin.cnf . 

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

