1MY_PRINT_DEFAULTS(1)         MySQL Database System        MY_PRINT_DEFAULTS(1)
2
3
4

NAME

6       my_print_defaults - display options from option files
7

SYNOPSIS

9       my_print_defaults [options] option_group ...
10

DESCRIPTION

12       my_print_defaults displays the options that are present in option
13       groups of option files. The output indicates what options are used by
14       programs that read the specified option groups. For example, the
15       mysqlcheck program reads the [mysqlcheck] and [client] option groups.
16       To see what options are present in those groups in the standard option
17       files, invoke my_print_defaults like this:
18
19           shell> my_print_defaults mysqlcheck client
20           --user=myusername
21           --password=password
22           --host=localhost
23
24       The output consists of options, one per line, in the form that they
25       would be specified on the command line.
26
27       my_print_defaults supports the following options.
28
29       ·   --help, -?  Display a help message and exit.
30
31       ·   --config-file=file_name, --defaults-file=file_name, -c file_name
32           Read only the given option file.
33
34       ·   --debug=debug_options, -# debug_options Write a debugging log. A
35           typical debug_options string is d:t:o,file_name. The default is
36           d:t:o,/tmp/my_print_defaults.trace.
37
38       ·   --defaults-extra-file=file_name, --extra-file=file_name, -e
39           file_name Read this option file after the global option file but
40           (on Unix) before the user option file.
41
42           For additional information about this and other option-file
43           options, see Section 4.2.2.3, “Command-Line Options that Affect
44           Option-File Handling”.
45
46       ·   --defaults-group-suffix=suffix, -g suffix In addition to the groups
47           named on the command line, read groups that have the given suffix.
48
49           For additional information about this and other option-file
50           options, see Section 4.2.2.3, “Command-Line Options that Affect
51           Option-File Handling”.
52
53       ·   --login-path=name, -l name Read options from the named login path
54           in the .mylogin.cnf login path file. A “login path” is an option
55           group containing options that specify which MySQL server to connect
56           to and which account to authenticate as. To create or modify a
57           login path file, use the mysql_config_editor utility. See
58           mysql_config_editor(1).
59
60           For additional information about this and other option-file
61           options, see Section 4.2.2.3, “Command-Line Options that Affect
62           Option-File Handling”.
63
64       ·   --no-defaults, -n Return an empty string.
65
66           For additional information about this and other option-file
67           options, see Section 4.2.2.3, “Command-Line Options that Affect
68           Option-File Handling”.
69
70       ·   --show, -s my_print_defaults masks passwords by default. Use this
71           option to display passwords as cleartext.
72
73       ·   --verbose, -v Verbose mode. Print more information about what the
74           program does.
75
76       ·   --version, -V Display version information and exit.
77
79       Copyright © 1997, 2020, Oracle and/or its affiliates.
80
81       This documentation is free software; you can redistribute it and/or
82       modify it only under the terms of the GNU General Public License as
83       published by the Free Software Foundation; version 2 of the License.
84
85       This documentation is distributed in the hope that it will be useful,
86       but WITHOUT ANY WARRANTY; without even the implied warranty of
87       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
88       General Public License for more details.
89
90       You should have received a copy of the GNU General Public License along
91       with the program; if not, write to the Free Software Foundation, Inc.,
92       51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see
93       http://www.gnu.org/licenses/.
94
95

SEE ALSO

97       For more information, please refer to the MySQL Reference Manual, which
98       may already be installed locally and which is also available online at
99       http://dev.mysql.com/doc/.
100

AUTHOR

102       Oracle Corporation (http://dev.mysql.com/).
103
104
105
106MySQL 8.0                         11/26/2020              MY_PRINT_DEFAULTS(1)
Impressum