my_print_defaults displays the options that
are present in option groups of option files. The output
indicates what options will be used by programs that read the
specified option groups. For example, the
mysqlcheck program reads the
option groups. To see what options are present in those groups
in the standard option files, invoke
my_print_defaults like this:
my_print_defaults mysqlcheck client--user=myusername --password=secret --host=localhost
The output consists of options, one per line, in the form that they would be specified on the command line.
my_print_defaults supports the following options.
Display a help message and exit.
Read only the given option file.
Write a debugging log. A typical
debug_options string is
The default is
Read this option file after the global option file but (on Unix) before the user option file.
In addition to the groups named on the command line, read groups that have the given suffix.
Read options from the named login path in the
.mylogin.cnf login file. A “login
path” is an option group that permits only a limited
set of options:
of a login path as a set of values that indicate the server
host and the credentials for authenticating with the server.
To create the login file, use the
mysql_config_editor utility. See
Section 4.6.6, “mysql_config_editor — MySQL Configuration Utility”. This option was added
in MySQL 5.6.6.
Return an empty string.
Verbose mode. Print more information about what the program does.
Display version information and exit.
Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices