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 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
68
69 This documentation is free software; you can redistribute it and/or
70 modify it only under the terms of the GNU General Public License as
71 published by the Free Software Foundation; version 2 of the License.
72
73 This documentation is distributed in the hope that it will be useful,
74 but WITHOUT ANY WARRANTY; without even the implied warranty of
75 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
76 General Public License for more details.
77
78 You should have received a copy of the GNU General Public License along
79 with the program; if not, write to the Free Software Foundation, Inc.,
80 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see
81 http://www.gnu.org/licenses/.
82
83
85 For more information, please refer to the MySQL Reference Manual, which
86 may already be installed locally and which is also available online at
87 http://dev.mysql.com/doc/.
88
90 Sun Microsystems, Inc. (http://www.mysql.com/).
91
92
93
94MySQL 5.1 04/06/2010 MY_PRINT_DEFAULTS(1)