1MY_PRINT_DEFAULTS(1) MySQL Database System MY_PRINT_DEFAULTS(1)
2
3
4
6 my_print_defaults - display options from option files
7
9 my_print_defaults [options] option_group ...
10
12 my_print_defaults displays the options that are present in option
13 groups of option files. The output indicates what options will be used
14 by 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, -?
30
31 Display a help message and exit.
32
33 · --config-file=file_name, --defaults-file=file_name, -c file_name
34
35 Read only the given option file.
36
37 · --debug=debug_options, -# debug_options
38
39 Write a debugging log. A typical debug_options string is
40 d:t:o,file_name. The default is d:t:o,/tmp/my_print_defaults.trace.
41
42 · --defaults-extra-file=file_name, --extra-file=file_name, -e
43 file_name
44
45 Read this option file after the global option file but (on Unix)
46 before the user option file.
47
48 For additional information about this and other option-file
49 options, see Section 4.2.2.3, “Command-Line Options that Affect
50 Option-File Handling”.
51
52 · --defaults-group-suffix=suffix, -g suffix
53
54 In addition to the groups named on the command line, read groups
55 that have the given suffix.
56
57 For additional information about this and other option-file
58 options, see Section 4.2.2.3, “Command-Line Options that Affect
59 Option-File Handling”.
60
61 · --login-path=name, -l name
62
63 Read options from the named login path in the .mylogin.cnf login
64 path file. A “login path” is an option group containing options
65 that specify which MySQL server to connect to and which account to
66 authenticate as. To create or modify a login path file, use the
67 mysql_config_editor utility. See mysql_config_editor(1).
68
69 For additional information about this and other option-file
70 options, see Section 4.2.2.3, “Command-Line Options that Affect
71 Option-File Handling”.
72
73 · --no-defaults, -n
74
75 Return an empty string.
76
77 For additional information about this and other option-file
78 options, see Section 4.2.2.3, “Command-Line Options that Affect
79 Option-File Handling”.
80
81 · --show, -s
82
83 my_print_defaults masks passwords by default. Use this option to
84 display passwords as cleartext.
85
86 · --verbose, -v
87
88 Verbose mode. Print more information about what the program does.
89
90 · --version, -V
91
92 Display version information and exit.
93
95 Copyright © 1997, 2020, Oracle and/or its affiliates. All rights
96 reserved.
97
98 This documentation is free software; you can redistribute it and/or
99 modify it only under the terms of the GNU General Public License as
100 published by the Free Software Foundation; version 2 of the License.
101
102 This documentation is distributed in the hope that it will be useful,
103 but WITHOUT ANY WARRANTY; without even the implied warranty of
104 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
105 General Public License for more details.
106
107 You should have received a copy of the GNU General Public License along
108 with the program; if not, write to the Free Software Foundation, Inc.,
109 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see
110 http://www.gnu.org/licenses/.
111
112
114 For more information, please refer to the MySQL Reference Manual, which
115 may already be installed locally and which is also available online at
116 http://dev.mysql.com/doc/.
117
119 Oracle Corporation (http://dev.mysql.com/).
120
121
122
123MySQL 8.0 03/06/2020 MY_PRINT_DEFAULTS(1)