You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
248 lines
6.4 KiB
248 lines
6.4 KiB
5 months ago
|
'\" t
|
||
|
.\" Title: \fBmy_print_defaults\fR
|
||
|
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
||
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||
|
.\" Date: 09/06/2019
|
||
|
.\" Manual: MySQL Database System
|
||
|
.\" Source: MySQL 8.0
|
||
|
.\" Language: English
|
||
|
.\"
|
||
|
.TH "\FBMY_PRINT_DEFAULTS\FR" "1" "09/06/2019" "MySQL 8\&.0" "MySQL Database System"
|
||
|
.\" -----------------------------------------------------------------
|
||
|
.\" * Define some portability stuff
|
||
|
.\" -----------------------------------------------------------------
|
||
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
.\" http://bugs.debian.org/507673
|
||
|
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
.ie \n(.g .ds Aq \(aq
|
||
|
.el .ds Aq '
|
||
|
.\" -----------------------------------------------------------------
|
||
|
.\" * set default formatting
|
||
|
.\" -----------------------------------------------------------------
|
||
|
.\" disable hyphenation
|
||
|
.nh
|
||
|
.\" disable justification (adjust text to left margin only)
|
||
|
.ad l
|
||
|
.\" -----------------------------------------------------------------
|
||
|
.\" * MAIN CONTENT STARTS HERE *
|
||
|
.\" -----------------------------------------------------------------
|
||
|
.SH "NAME"
|
||
|
my_print_defaults \- display options from option files
|
||
|
.SH "SYNOPSIS"
|
||
|
.HP \w'\fBmy_print_defaults\ [\fR\fB\fIoptions\fR\fR\fB]\ \fR\fB\fIoption_group\fR\fR\fB\ \&.\&.\&.\fR\ 'u
|
||
|
\fBmy_print_defaults [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIoption_group\fR\fR\fB \&.\&.\&.\fR
|
||
|
.SH "DESCRIPTION"
|
||
|
.PP
|
||
|
\fBmy_print_defaults\fR
|
||
|
displays the options that are present in option groups of option files\&. The output indicates what options will be used by programs that read the specified option groups\&. For example, the
|
||
|
\fBmysqlcheck\fR
|
||
|
program reads the
|
||
|
[mysqlcheck]
|
||
|
and
|
||
|
[client]
|
||
|
option groups\&. To see what options are present in those groups in the standard option files, invoke
|
||
|
\fBmy_print_defaults\fR
|
||
|
like this:
|
||
|
.sp
|
||
|
.if n \{\
|
||
|
.RS 4
|
||
|
.\}
|
||
|
.nf
|
||
|
shell> \fBmy_print_defaults mysqlcheck client\fR
|
||
|
\-\-user=myusername
|
||
|
\-\-password=\fIpassword\fR
|
||
|
\-\-host=localhost
|
||
|
.fi
|
||
|
.if n \{\
|
||
|
.RE
|
||
|
.\}
|
||
|
.PP
|
||
|
The output consists of options, one per line, in the form that they would be specified on the command line\&.
|
||
|
.PP
|
||
|
\fBmy_print_defaults\fR
|
||
|
supports the following options\&.
|
||
|
.sp
|
||
|
.RS 4
|
||
|
.ie n \{\
|
||
|
\h'-04'\(bu\h'+03'\c
|
||
|
.\}
|
||
|
.el \{\
|
||
|
.sp -1
|
||
|
.IP \(bu 2.3
|
||
|
.\}
|
||
|
\fB\-\-help\fR,
|
||
|
\fB\-?\fR
|
||
|
.sp
|
||
|
Display a help message and exit\&.
|
||
|
.RE
|
||
|
.sp
|
||
|
.RS 4
|
||
|
.ie n \{\
|
||
|
\h'-04'\(bu\h'+03'\c
|
||
|
.\}
|
||
|
.el \{\
|
||
|
.sp -1
|
||
|
.IP \(bu 2.3
|
||
|
.\}
|
||
|
\fB\-\-config\-file=\fR\fB\fIfile_name\fR\fR,
|
||
|
\fB\-\-defaults\-file=\fR\fB\fIfile_name\fR\fR,
|
||
|
\fB\-c \fR\fB\fIfile_name\fR\fR
|
||
|
.sp
|
||
|
Read only the given option file\&.
|
||
|
.RE
|
||
|
.sp
|
||
|
.RS 4
|
||
|
.ie n \{\
|
||
|
\h'-04'\(bu\h'+03'\c
|
||
|
.\}
|
||
|
.el \{\
|
||
|
.sp -1
|
||
|
.IP \(bu 2.3
|
||
|
.\}
|
||
|
\fB\-\-debug=\fR\fB\fIdebug_options\fR\fR,
|
||
|
\fB\-# \fR\fB\fIdebug_options\fR\fR
|
||
|
.sp
|
||
|
Write a debugging log\&. A typical
|
||
|
\fIdebug_options\fR
|
||
|
string is
|
||
|
d:t:o,\fIfile_name\fR\&. The default is
|
||
|
d:t:o,/tmp/my_print_defaults\&.trace\&.
|
||
|
.RE
|
||
|
.sp
|
||
|
.RS 4
|
||
|
.ie n \{\
|
||
|
\h'-04'\(bu\h'+03'\c
|
||
|
.\}
|
||
|
.el \{\
|
||
|
.sp -1
|
||
|
.IP \(bu 2.3
|
||
|
.\}
|
||
|
\fB\-\-defaults\-extra\-file=\fR\fB\fIfile_name\fR\fR,
|
||
|
\fB\-\-extra\-file=\fR\fB\fIfile_name\fR\fR,
|
||
|
\fB\-e \fR\fB\fIfile_name\fR\fR
|
||
|
.sp
|
||
|
Read this option file after the global option file but (on Unix) before the user option file\&.
|
||
|
.sp
|
||
|
For additional information about this and other option\-file options, see
|
||
|
Section\ \&4.2.2.3, \(lqCommand-Line Options that Affect Option-File Handling\(rq\&.
|
||
|
.RE
|
||
|
.sp
|
||
|
.RS 4
|
||
|
.ie n \{\
|
||
|
\h'-04'\(bu\h'+03'\c
|
||
|
.\}
|
||
|
.el \{\
|
||
|
.sp -1
|
||
|
.IP \(bu 2.3
|
||
|
.\}
|
||
|
\fB\-\-defaults\-group\-suffix=\fR\fB\fIsuffix\fR\fR,
|
||
|
\fB\-g \fR\fB\fIsuffix\fR\fR
|
||
|
.sp
|
||
|
In addition to the groups named on the command line, read groups that have the given suffix\&.
|
||
|
.sp
|
||
|
For additional information about this and other option\-file options, see
|
||
|
Section\ \&4.2.2.3, \(lqCommand-Line Options that Affect Option-File Handling\(rq\&.
|
||
|
.RE
|
||
|
.sp
|
||
|
.RS 4
|
||
|
.ie n \{\
|
||
|
\h'-04'\(bu\h'+03'\c
|
||
|
.\}
|
||
|
.el \{\
|
||
|
.sp -1
|
||
|
.IP \(bu 2.3
|
||
|
.\}
|
||
|
\fB\-\-login\-path=\fR\fB\fIname\fR\fR,
|
||
|
\fB\-l \fR\fB\fIname\fR\fR
|
||
|
.sp
|
||
|
Read options from the named login path in the
|
||
|
\&.mylogin\&.cnf
|
||
|
login path file\&. A
|
||
|
\(lqlogin path\(rq
|
||
|
is an option group containing options that specify which MySQL server to connect to and which account to authenticate as\&. To create or modify a login path file, use the
|
||
|
\fBmysql_config_editor\fR
|
||
|
utility\&. See
|
||
|
\fBmysql_config_editor\fR(1)\&.
|
||
|
.sp
|
||
|
For additional information about this and other option\-file options, see
|
||
|
Section\ \&4.2.2.3, \(lqCommand-Line Options that Affect Option-File Handling\(rq\&.
|
||
|
.RE
|
||
|
.sp
|
||
|
.RS 4
|
||
|
.ie n \{\
|
||
|
\h'-04'\(bu\h'+03'\c
|
||
|
.\}
|
||
|
.el \{\
|
||
|
.sp -1
|
||
|
.IP \(bu 2.3
|
||
|
.\}
|
||
|
\fB\-\-no\-defaults\fR,
|
||
|
\fB\-n\fR
|
||
|
.sp
|
||
|
Return an empty string\&.
|
||
|
.sp
|
||
|
For additional information about this and other option\-file options, see
|
||
|
Section\ \&4.2.2.3, \(lqCommand-Line Options that Affect Option-File Handling\(rq\&.
|
||
|
.RE
|
||
|
.sp
|
||
|
.RS 4
|
||
|
.ie n \{\
|
||
|
\h'-04'\(bu\h'+03'\c
|
||
|
.\}
|
||
|
.el \{\
|
||
|
.sp -1
|
||
|
.IP \(bu 2.3
|
||
|
.\}
|
||
|
\fB\-\-show\fR,
|
||
|
\fB\-s\fR
|
||
|
.sp
|
||
|
\fBmy_print_defaults\fR
|
||
|
masks passwords by default\&. Use this option to display passwords as cleartext\&.
|
||
|
.RE
|
||
|
.sp
|
||
|
.RS 4
|
||
|
.ie n \{\
|
||
|
\h'-04'\(bu\h'+03'\c
|
||
|
.\}
|
||
|
.el \{\
|
||
|
.sp -1
|
||
|
.IP \(bu 2.3
|
||
|
.\}
|
||
|
\fB\-\-verbose\fR,
|
||
|
\fB\-v\fR
|
||
|
.sp
|
||
|
Verbose mode\&. Print more information about what the program does\&.
|
||
|
.RE
|
||
|
.sp
|
||
|
.RS 4
|
||
|
.ie n \{\
|
||
|
\h'-04'\(bu\h'+03'\c
|
||
|
.\}
|
||
|
.el \{\
|
||
|
.sp -1
|
||
|
.IP \(bu 2.3
|
||
|
.\}
|
||
|
\fB\-\-version\fR,
|
||
|
\fB\-V\fR
|
||
|
.sp
|
||
|
Display version information and exit\&.
|
||
|
.RE
|
||
|
.SH "COPYRIGHT"
|
||
|
.br
|
||
|
.PP
|
||
|
Copyright \(co 1997, 2019, Oracle and/or its affiliates. All rights reserved.
|
||
|
.PP
|
||
|
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
|
||
|
.PP
|
||
|
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||
|
.PP
|
||
|
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
|
||
|
.sp
|
||
|
.SH "SEE ALSO"
|
||
|
For more information, please refer to the MySQL Reference Manual,
|
||
|
which may already be installed locally and which is also available
|
||
|
online at http://dev.mysql.com/doc/.
|
||
|
.SH AUTHOR
|
||
|
Oracle Corporation (http://dev.mysql.com/).
|