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 understands 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. The debug_options string often 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-2007 MySQL AB
68
69 This documentation is NOT distributed under a GPL license. Use of this
70 documentation is subject to the following terms: You may create a
71 printed copy of this documentation solely for your own personal use.
72 Conversion to other formats is allowed as long as the actual content is
73 not altered or edited in any way. You shall not publish or distribute
74 this documentation in any form or on any media, except if you
75 distribute the documentation in a manner similar to how MySQL
76 disseminates it (that is, electronically for download on a Web site
77 with the software) or on a CD-ROM or similar medium, provided however
78 that the documentation is disseminated together with the software on
79 the same medium. Any other use, such as any dissemination of printed
80 copies or use of this documentation, in whole or in part, in another
81 publication, requires the prior written consent from an authorized
82 representative of MySQL AB. MySQL AB reserves any and all rights to
83 this documentation not expressly granted above.
84
85 Please email <docs@mysql.com> for more information.
86
88 For more information, please refer to the MySQL Reference Manual, which
89 may already be installed locally and which is also available online at
90 http://dev.mysql.com/doc/.
91
93 MySQL AB (http://www.mysql.com/). This software comes with no
94 warranty.
95
96
97