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=secret
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
41 'd:t:o,/tmp/my_print_defaults.trace'.
42
43 · --defaults-extra-file=file_name, --extra-file=file_name, -e
44 file_name
45
46 Read this option file after the global option file but (on Unix)
47 before the user option file.
48
49 · --defaults-group-suffix=suffix, -g suffix
50
51 In addition to the groups named on the command line, read groups
52 that have the given suffix.
53
54 · --no-defaults, -n
55
56 Return an empty string.
57
58 · --verbose, -v
59
60 Verbose mode. Print more information about what the program does.
61
62 · --version, -V
63
64 Display version information and exit.
65
67 Copyright © 1997, 2013, Oracle and/or its affiliates. All rights
68 reserved.
69
70 This documentation is free software; you can redistribute it and/or
71 modify it only under the terms of the GNU General Public License as
72 published by the Free Software Foundation; version 2 of the License.
73
74 This documentation is distributed in the hope that it will be useful,
75 but WITHOUT ANY WARRANTY; without even the implied warranty of
76 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
77 General Public License for more details.
78
79 You should have received a copy of the GNU General Public License along
80 with the program; if not, write to the Free Software Foundation, Inc.,
81 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see
82 http://www.gnu.org/licenses/.
83
84
86 For more information, please refer to the MySQL Reference Manual, which
87 may already be installed locally and which is also available online at
88 http://dev.mysql.com/doc/.
89
91 Oracle Corporation (http://dev.mysql.com/).
92
93
94
95MySQL 5.1 11/04/2013 MY_PRINT_DEFAULTS(1)