to determine the error messages to display for different error codes\&.
to determine the error messages to display for different error codes\&.
\fBcomp_err\fR
\fBcomp_err\fR
normally is run automatically when MySQL is built\&. It compiles the
normally is run automatically when MariaDB is built\&. It compiles the
errmsg\&.sys
errmsg\&.sys
file from the plaintext file located at
file from the plaintext file located at
sql/share/errmsg\&.txt
sql/share/errmsg\&.txt
in MySQL source distributions\&.
in MariaDB source distributions\&.
.PP
.PP
\fBcomp_err\fR
\fBcomp_err\fR
also generates
also generates
...
@@ -254,7 +247,7 @@ Display version information and exit\&.
...
@@ -254,7 +247,7 @@ Display version information and exit\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -263,8 +256,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -263,8 +256,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -69,7 +62,7 @@ supports the following options\&. For options that refer to page numbers, the nu
...
@@ -69,7 +62,7 @@ supports the following options\&. For options that refer to page numbers, the nu
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
\fB\-c\fR
\fB\-c, --count\fR
.sp
.sp
Print a count of the number of pages in the file\&.
Print a count of the number of pages in the file\&.
.RE
.RE
...
@@ -82,7 +75,7 @@ Print a count of the number of pages in the file\&.
...
@@ -82,7 +75,7 @@ Print a count of the number of pages in the file\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
\fB\-d\fR
\fB\-d, --debug\fR
.sp
.sp
Debug mode; prints checksums for each page\&.
Debug mode; prints checksums for each page\&.
.RE
.RE
...
@@ -95,7 +88,7 @@ Debug mode; prints checksums for each page\&.
...
@@ -95,7 +88,7 @@ Debug mode; prints checksums for each page\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
\fB\-e \fR\fB\fInum\fR\fR
\fB\-e \fR\fB\fInum\fB, --end-page=#\fR\fR
.sp
.sp
End at this page number\&.
End at this page number\&.
.RE
.RE
...
@@ -108,7 +101,7 @@ End at this page number\&.
...
@@ -108,7 +101,7 @@ End at this page number\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
\fB\-p \fR\fB\fInum\fR\fR
\fB\-p \fR\fB\fInum\fB, --page-num=#\fR\fR
.sp
.sp
Check only this page number\&.
Check only this page number\&.
.RE
.RE
...
@@ -121,7 +114,7 @@ Check only this page number\&.
...
@@ -121,7 +114,7 @@ Check only this page number\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
\fB\-s \fR\fB\fInum\fR\fR
\fB\-s \fR\fB\fInum\fB, --start-page\fR\fR
.sp
.sp
Start at this page number\&.
Start at this page number\&.
.RE
.RE
...
@@ -134,14 +127,27 @@ Start at this page number\&.
...
@@ -134,14 +127,27 @@ Start at this page number\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
\fB\-v\fR
\fB\-u, --skip-corrupt\fR\fR
.sp
Skip corrupt pages\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fB\-v, --verbose\fR
.sp
.sp
Verbose mode; print a progress indicator every five seconds\&.
Verbose mode; print a progress indicator every five seconds\&.
.RE
.RE
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -150,8 +156,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -150,8 +156,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -178,8 +171,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -178,8 +171,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -60,7 +53,7 @@ utility to make the function name substitutions\&. See
...
@@ -60,7 +53,7 @@ utility to make the function name substitutions\&. See
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -69,8 +62,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -69,8 +62,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -87,7 +80,9 @@ Display a help message and exit\&.
...
@@ -87,7 +80,9 @@ Display a help message and exit\&.
\fB\-\-defaults\-file=\fR\fB\fIfile_name\fR\fR,
\fB\-\-defaults\-file=\fR\fB\fIfile_name\fR\fR,
\fB\-c \fR\fB\fIfile_name\fR\fR
\fB\-c \fR\fB\fIfile_name\fR\fR
.sp
.sp
Read only the given option file\&.
Read only the given option file\&. If no extension is given, default extension(.ini or .cnf) will
be used\&. \fB\-\-config-file\fR is deprecated, use \fB\-\-defaults\-file\fR instead\&. If \fB\-\-defaults\-file\fR is
the first option, then read this file only, do not read global or per\-user config files; should be the first option.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -126,7 +121,8 @@ string is
...
@@ -126,7 +121,8 @@ string is
\fB\-\-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
\fB\-e \fR\fB\fIfile_name\fR\fR
.sp
.sp
Read this option file after the global option file but (on Unix) before the user option file\&.
Read this option file after the global option file but (on Unix) before the user option
file\&. Should be the first option\&. \fB\-\-extra\-file\fR is deprecated, use \fB\-\-defaults\-extra\-file\fR\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -153,12 +149,27 @@ In addition to the groups named on the command line, read groups that have the g
...
@@ -153,12 +149,27 @@ In addition to the groups named on the command line, read groups that have the g
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" my_print_defaults: --mysqld option
.\" mysqld option: my_print_defaults
\fB\-\-mysqld\fR
.sp
Read the same set of groups that the mysqld binary does.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" my_print_defaults: no-defaults option
.\" my_print_defaults: no-defaults option
.\" no-defaults option: my_print_defaults
.\" no-defaults option: my_print_defaults
\fB\-\-no\-defaults\fR,
\fB\-\-no\-defaults\fR,
\fB\-n\fR
\fB\-n\fR
.sp
.sp
Return an empty string\&.
Return an empty string (useful for scripts)\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -195,7 +206,7 @@ Display version information and exit\&.
...
@@ -195,7 +206,7 @@ Display version information and exit\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -204,8 +215,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -204,8 +215,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -242,7 +235,7 @@ Verbose mode\&. Print more output about what the program does\&.
...
@@ -242,7 +235,7 @@ Verbose mode\&. Print more output about what the program does\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -251,8 +244,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -251,8 +244,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
You can even check all tables in all databases by specifying a wildcard with the path to the MySQL data directory:
You can even check all tables in all databases by specifying a wildcard with the path to the MariaDB data directory:
.sp
.sp
.if n \{\
.if n \{\
.RS 4
.RS 4
...
@@ -184,7 +177,7 @@ the section called \(lqMYISAMCHK MEMORY USAGE\(rq\&.
...
@@ -184,7 +177,7 @@ the section called \(lqMYISAMCHK MEMORY USAGE\(rq\&.
.ps -1
.ps -1
.br
.br
.PP
.PP
\fIYou must ensure that no other program is using the tables while you are running \fR\fI\fBmyisamchk\fR\fR\&. The most effective means of doing so is to shut down the MySQL server while running
\fIYou must ensure that no other program is using the tables while you are running \fR\fI\fBmyisamchk\fR\fR\&. The most effective means of doing so is to shut down the MariaDB server while running
\fBmyisamchk\fR, or to lock all tables that
\fBmyisamchk\fR, or to lock all tables that
\fBmyisamchk\fR
\fBmyisamchk\fR
is being used on\&.
is being used on\&.
...
@@ -218,8 +211,7 @@ However, the easiest way to avoid this problem is to use
...
@@ -218,8 +211,7 @@ However, the easiest way to avoid this problem is to use
@@ -696,7 +751,8 @@ finds any errors in the table\&. The repair type is the same as that specified w
...
@@ -696,7 +751,8 @@ finds any errors in the table\&. The repair type is the same as that specified w
\fB\-\-recover\fR
\fB\-\-recover\fR
or
or
\fB\-r\fR
\fB\-r\fR
option\&.
option\&. States will be updated as with
\fB\-\-update\-state\fR\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -816,8 +872,7 @@ file as
...
@@ -816,8 +872,7 @@ file as
.\" character-sets-dir option: myisamchk
.\" character-sets-dir option: myisamchk
\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR
\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR
.sp
.sp
The directory where character sets are installed\&. See
The directory where character sets are installed\&.
Section\ \&9.5, \(lqCharacter Set Configuration\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -833,6 +888,24 @@ Section\ \&9.5, \(lqCharacter Set Configuration\(rq\&.
...
@@ -833,6 +888,24 @@ Section\ \&9.5, \(lqCharacter Set Configuration\(rq\&.
\fB\-\-correct\-checksum\fR
\fB\-\-correct\-checksum\fR
.sp
.sp
Correct the checksum information for the table\&.
Correct the checksum information for the table\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" myisamchk: create-missing-keys option
.\" create-missing-keys option: myisamchk
\fB\-\-create\-missing\-keys\fR
.sp
Create missing keys. This assumes that the data file is correct and that the
number of rows stored in the index file is correct\&. Enables
\fB\-\-quick\fR\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -885,7 +958,12 @@ the section called \(lqMYISAMCHK TABLE INFORMATION\(rq\&.
...
@@ -885,7 +958,12 @@ the section called \(lqMYISAMCHK TABLE INFORMATION\(rq\&.
\fB\-f\fR
\fB\-f\fR
.sp
.sp
Overwrite old intermediate files (files with names like
Overwrite old intermediate files (files with names like
\fItbl_name\fR\&.TMD) instead of aborting\&.
\fItbl_name\fR\&.TMD) instead of aborting\&. Add another
\fB\-\-force\fR
to avoid 'myisam_sort_buffer_size is too small' errors\&. In this case
we will attempt to do the repair with the given
\fBmyisam_sort_buffer_size\fR
and dynamically allocate as many management buffers as needed\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -914,24 +992,6 @@ For
...
@@ -914,24 +992,6 @@ For
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" myisamchk: no-symlinks option
.\" no-symlinks option: myisamchk
\fB\-\-no\-symlinks\fR,
\fB\-l\fR
.sp
Do not follow symbolic links\&. Normally
\fBmyisamchk\fR
repairs the table that a symlink points to\&. This option does not exist as of MySQL 4\&.0 because versions from 4\&.0 on do not remove symlinks during repair operations\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" myisamchk: max-record-length option
.\" myisamchk: max-record-length option
.\" max-record-length option: myisamchk
.\" max-record-length option: myisamchk
\fB\-\-max\-record\-length=\fR\fB\fIlen\fR\fR
\fB\-\-max\-record\-length=\fR\fB\fIlen\fR\fR
...
@@ -976,7 +1036,7 @@ and
...
@@ -976,7 +1036,7 @@ and
.sp
.sp
Achieve a faster repair by modifying only the index file, not the data file\&. You can specify this option twice to force
Achieve a faster repair by modifying only the index file, not the data file\&. You can specify this option twice to force
\fBmyisamchk\fR
\fBmyisamchk\fR
to modify the original data file in case of duplicate keys\&.
to modify the original data file in case of duplicate keys\&. NOTE: Tables where the data file is corrupted can't be fixed with this option\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1043,19 +1103,6 @@ key_buffer_size\&.
...
@@ -1043,19 +1103,6 @@ key_buffer_size\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" myisamchk: set-character-set option
.\" set-character-set option: myisamchk
\fB\-\-set\-character\-set=\fR\fB\fIname\fR\fR
.sp
Change the character set used by the table indexes\&. This option was replaced by
\fB\-\-set\-collation\fR
in MySQL 5\&.0\&.3\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.el \{\
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
...
@@ -1251,6 +1298,22 @@ sorts and moves records, it just overwrites record offsets in the index\&. If ke
...
@@ -1251,6 +1298,22 @@ sorts and moves records, it just overwrites record offsets in the index\&. If ke
\fBmyisamchk\fR
\fBmyisamchk\fR
must unpack key blocks first, then re\-create indexes and pack the key blocks again\&. (In this case, re\-creating indexes is faster than updating offsets for each index\&.)
must unpack key blocks first, then re\-create indexes and pack the key blocks again\&. (In this case, re\-creating indexes is faster than updating offsets for each index\&.)
.RE
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" myisamchk: stats_method option
.\" stats_method option: myisamchk
\fB\-\-stats\-method=name\fR
.sp
Specifies how index statistics collection code should treat NULLs\&. Possible values
of name are "nulls_unequal" (default), "nulls_equal" (emulate MySQL 4 behavior), and "nulls_ignored"\&.
.RE
.SH "MYISAMCHK TABLE INFORMATION"
.SH "MYISAMCHK TABLE INFORMATION"
.\" table description: myisamchk
.\" table description: myisamchk
.\" tables: information
.\" tables: information
...
@@ -1275,7 +1338,7 @@ Runs
...
@@ -1275,7 +1338,7 @@ Runs
\fBmyisamchk\fR
\fBmyisamchk\fR
in
in
\(lqdescribe mode\(rq
\(lqdescribe mode\(rq
to produce a description of your table\&. If you start the MySQL server with external locking disabled,
to produce a description of your table\&. If you start the MariaDB server with external locking disabled,
\fBmyisamchk\fR
\fBmyisamchk\fR
may report an error for a table that is updated while it runs\&. However, because
may report an error for a table that is updated while it runs\&. However, because
The size of the data file pointer, in bytes\&. It is usually 2, 3, 4, or 5 bytes\&. Most tables manage with 2 bytes, but this cannot be controlled from MySQL yet\&. For fixed tables, this is a row address\&. For dynamic tables, this is a byte address\&.
The size of the data file pointer, in bytes\&. It is usually 2, 3, 4, or 5 bytes\&. Most tables manage with 2 bytes, but this cannot be controlled from MariaDB yet\&. For fixed tables, this is a row address\&. For dynamic tables, this is a byte address\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1636,7 +1699,7 @@ The size of the data file pointer, in bytes\&. It is usually 2, 3, 4, or 5 bytes
...
@@ -1636,7 +1699,7 @@ The size of the data file pointer, in bytes\&. It is usually 2, 3, 4, or 5 bytes
.\}
.\}
Keyfile pointer
Keyfile pointer
.sp
.sp
The size of the index file pointer, in bytes\&. It is usually 1, 2, or 3 bytes\&. Most tables manage with 2 bytes, but this is calculated automatically by MySQL\&. It is always a block address\&.
The size of the index file pointer, in bytes\&. It is usually 1, 2, or 3 bytes\&. Most tables manage with 2 bytes, but this is calculated automatically by MariaDB\&. It is always a block address\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1785,7 +1848,7 @@ Address of the root index block\&.
...
@@ -1785,7 +1848,7 @@ Address of the root index block\&.
.\}
.\}
Blocksize
Blocksize
.sp
.sp
The size of each index block\&. By default this is 1024, but the value may be changed at compile time when MySQL is built from source\&.
The size of each index block\&. By default this is 1024, but the value may be changed at compile time when MariaDB is built from source\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -2137,7 +2200,7 @@ What percentage of the keyblocks are used\&. When a table has just been reorgani
...
@@ -2137,7 +2200,7 @@ What percentage of the keyblocks are used\&. When a table has just been reorgani
.\}
.\}
Packed
Packed
.sp
.sp
MySQL tries to pack key values that have a common suffix\&. This can only be used for indexes on
MariaDB tries to pack key values that have a common suffix\&. This can only be used for indexes on
CHAR
CHAR
and
and
VARCHAR
VARCHAR
...
@@ -2193,7 +2256,7 @@ The average row length\&. This is the exact row length for tables with fixed\-le
...
@@ -2193,7 +2256,7 @@ The average row length\&. This is the exact row length for tables with fixed\-le
.\}
.\}
Packed
Packed
.sp
.sp
MySQL strips spaces from the end of strings\&. The
MariaDB strips spaces from the end of strings\&. The
Packed
Packed
value indicates the percentage of savings achieved by doing this\&.
value indicates the percentage of savings achieved by doing this\&.
.RE
.RE
...
@@ -2444,7 +2507,7 @@ instead of
...
@@ -2444,7 +2507,7 @@ instead of
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -2453,8 +2516,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -2453,8 +2516,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -225,7 +218,7 @@ Display version information\&.
...
@@ -225,7 +218,7 @@ Display version information\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -234,8 +227,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -234,8 +227,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -72,7 +65,7 @@ if the table might be updated by the server during the packing process\&. It is
...
@@ -72,7 +65,7 @@ if the table might be updated by the server during the packing process\&. It is
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
After packing a table, it becomes read only\&. This is generally intended (such as when accessing packed tables on a CD)\&. Allowing writes to a packed table is on our TODO list, but with low priority\&.
After packing a table, it becomes read only\&. This is generally intended (such as when accessing packed tables on a CD)\&.
.RE
.RE
.PP
.PP
Invoke
Invoke
...
@@ -832,7 +825,7 @@ option to
...
@@ -832,7 +825,7 @@ option to
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -841,8 +834,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -841,8 +834,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -28,7 +21,7 @@ mysql-stress-test.pl \- server stress test program
...
@@ -28,7 +21,7 @@ mysql-stress-test.pl \- server stress test program
.PP
.PP
The
The
\fBmysql\-stress\-test\&.pl\fR
\fBmysql\-stress\-test\&.pl\fR
Perl script performs stress\-testing of the MySQL server\&. (MySQL 5\&.0 and up only)
Perl script performs stress\-testing of the MariaDB server\&.
.PP
.PP
\fBmysql\-stress\-test\&.pl\fR
\fBmysql\-stress\-test\&.pl\fR
requires a version of Perl that has been built with threads support\&.
requires a version of Perl that has been built with threads support\&.
...
@@ -250,7 +243,7 @@ The TCP/IP port number to use for connecting to the server\&. The default is 330
...
@@ -250,7 +243,7 @@ The TCP/IP port number to use for connecting to the server\&. The default is 330
\fB\-\-server\-socket=\fR\fB\fIfile_name\fR\fR
\fB\-\-server\-socket=\fR\fB\fIfile_name\fR\fR
.sp
.sp
For connections to
For connections to
localhost, the Unix socket file to use, or, on Windows, the name of the named pipe to use\&. The default if
localhost, the Unix socket file to use, or, on Windows, the name of the named pipe to use\&. The default is
/tmp/mysql\&.sock\&.
/tmp/mysql\&.sock\&.
.RE
.RE
.sp
.sp
...
@@ -266,7 +259,7 @@ localhost, the Unix socket file to use, or, on Windows, the name of the named pi
...
@@ -266,7 +259,7 @@ localhost, the Unix socket file to use, or, on Windows, the name of the named pi
.\" server-user option: mysql-stress-test.pl
.\" server-user option: mysql-stress-test.pl
\fB\-\-server\-user=\fR\fB\fIuser_name\fR\fR
\fB\-\-server\-user=\fR\fB\fIuser_name\fR\fR
.sp
.sp
The MySQL user name to use when connecting to the server\&. The default is
The MariaDB user name to use when connecting to the server\&. The default is
root\&.
root\&.
.RE
.RE
.sp
.sp
...
@@ -489,7 +482,7 @@ Verbose mode\&. Print more information about what the program does\&.
...
@@ -489,7 +482,7 @@ Verbose mode\&. Print more information about what the program does\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright \(co 2007, 2010, Oracle and/or its affiliates
Copyright \(co 2007, 2010, Oracle and/or its affiliates, 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -498,8 +491,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -498,8 +491,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -28,7 +21,7 @@ mysql-test-run.pl \- run MySQL test suite
...
@@ -28,7 +21,7 @@ mysql-test-run.pl \- run MySQL test suite
.PP
.PP
The
The
\fBmysql\-test\-run\&.pl\fR
\fBmysql\-test\-run\&.pl\fR
Perl script is the main application used to run the MySQL test suite\&. It invokes
Perl script is the main application used to run the MariaDB test suite\&. It invokes
\fBmysqltest\fR
\fBmysqltest\fR
to run individual test cases\&.
to run individual test cases\&.
.PP
.PP
...
@@ -381,9 +374,54 @@ Display a help message and exit\&.
...
@@ -381,9 +374,54 @@ Display a help message and exit\&.
Allow tests marked as "big" to run\&. Tests can be thus marked by including the line
Allow tests marked as "big" to run\&. Tests can be thus marked by including the line
\fB\-\-source include/big_test\&.inc\fR, and they will only be run if this option is given, or if the environment variable
\fB\-\-source include/big_test\&.inc\fR, and they will only be run if this option is given, or if the environment variable
BIG_TEST
BIG_TEST
is set to 1\&.
is set to 1\&. Repeat this option twice to run only "big" tests\&.
.sp
.sp
This is typically done for tests that take very long to run, or that use very much resources, so that they are not suitable for running as part of a normal test suite run\&.
This is typically used for tests that take a very long to run, or that use many resources, so that they are not suitable for running as part of a normal test suite run\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql-test-run.pl: boot-dbx option
.\" boot-dbx option: mysql-test-run.pl
\fB\-\-boot\-dbx\fR
.sp
Run the mysqld server used for bootstrapping the database through the dbx debugger\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql-test-run.pl: boot-ddd option
.\" boot-ddd option: mysql-test-run.pl
\fB\-\-boot\-ddd\fR
.sp
Run the mysqld server used for bootstrapping the database through the ddd debugger\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql-test-run.pl: boot-gdb option
.\" boot-gdb option: mysql-test-run.pl
\fB\-\-boot\-gdb\fR
.sp
Run the mysqld server used for bootstrapping the database through the gdb debugger\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -396,7 +434,7 @@ This is typically done for tests that take very long to run, or that use very mu
...
@@ -396,7 +434,7 @@ This is typically done for tests that take very long to run, or that use very mu
.\}
.\}
.\" mysql-test-run.pl: build-thread option
.\" mysql-test-run.pl: build-thread option
.\" build-thread option: mysql-test-run.pl
.\" build-thread option: mysql-test-run.pl
\fB\-\-build\-thread=\fR\fB\fInumber\fR\fR
\fB\-\-[mtr\-]build\-thread=\fR\fB\fInumber\fR\fR
.sp
.sp
Specify a number to calculate port numbers from\&. The formula is 10 *
Specify a number to calculate port numbers from\&. The formula is 10 *
\fIbuild_thread\fR
\fIbuild_thread\fR
...
@@ -410,7 +448,7 @@ auto) can also be set with the
...
@@ -410,7 +448,7 @@ auto) can also be set with the
MTR_BUILD_THREAD
MTR_BUILD_THREAD
environment variable\&.
environment variable\&.
.sp
.sp
From MySQL 5\&.1\&.45, the more logical
The more logical
\fB\-\-port\-base\fR
\fB\-\-port\-base\fR
is supported as an alternative\&.
is supported as an alternative\&.
.RE
.RE
...
@@ -471,6 +509,25 @@ The path to the directory where client binaries are located\&.
...
@@ -471,6 +509,25 @@ The path to the directory where client binaries are located\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysql-test-run.pl: client-dbx option
.\" client-dbx option: mysql-test-run.pl
\fB\-\-client\-dbx\fR
.sp
Start
\fBmysqltest\fR
in the
\fBdbx\fR
debugger\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql-test-run.pl: client-ddd option
.\" mysql-test-run.pl: client-ddd option
.\" client-ddd option: mysql-test-run.pl
.\" client-ddd option: mysql-test-run.pl
\fB\-\-client\-ddd\fR
\fB\-\-client\-ddd\fR
...
@@ -560,8 +617,7 @@ is given only once, it has no effect\&. For test runs specific to a given test s
...
@@ -560,8 +617,7 @@ is given only once, it has no effect\&. For test runs specific to a given test s
\fB\-\-combination\fR
\fB\-\-combination\fR
is to create a
is to create a
combinations
combinations
file in the suite directory\&. The file should contain a section of options for each test run\&. See
file in the suite directory\&. The file should contain a section of options for each test run\&.
Section\ \&4.9, \(lqPassing Options from mysql-test-run.pl to mysqld or mysqltest\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -609,10 +665,7 @@ Compress all information sent between the client and the server if both support
...
@@ -609,10 +665,7 @@ Compress all information sent between the client and the server if both support
.\" cursor-protocol option: mysql-test-run.pl
.\" cursor-protocol option: mysql-test-run.pl
\fB\-\-cursor\-protocol\fR
\fB\-\-cursor\-protocol\fR
.sp
.sp
Pass the
Use the cursor protocol between client and server
\fB\-\-cursor\-protocol\fR
option to
\fBmysqltest\fR
(implies
(implies
\fB\-\-ps\-protocol\fR)\&.
\fB\-\-ps\-protocol\fR)\&.
.RE
.RE
...
@@ -625,12 +678,31 @@ option to
...
@@ -625,12 +678,31 @@ option to
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysql-test-run.pl: dbx option
.\" dbx option: mysql-test-run.pl
\fB\-\-dbx\fR
.sp
Start the
\fBmysqld(s)\fR
in the
\fBdbx\fR
debugger\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql-test-run.pl: ddd option
.\" mysql-test-run.pl: ddd option
.\" ddd option: mysql-test-run.pl
.\" ddd option: mysql-test-run.pl
\fB\-\-ddd\fR
\fB\-\-ddd\fR
.sp
.sp
Start
Start the
\fBmysqld\fR
\fBmysqld(s)\fR
in the
in the
\fBddd\fR
\fBddd\fR
debugger\&.
debugger\&.
...
@@ -659,6 +731,36 @@ Dump trace output for all clients and servers\&.
...
@@ -659,6 +731,36 @@ Dump trace output for all clients and servers\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysql-test-run.pl: debug-common option
.\" debug-common option: mysql-test-run.pl
\fB\-\-debug\-common\fR
.sp
Same as \fB--debug\fR, but sets the 'd' debug flags to "query,info,error,enter,exit"\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql-test-run.pl: debug-server option
.\" debug-server option: mysql-test-run.pl
\fB\-\-debug\-server\fR
.sp
Use debug version of server, but without turning on tracing\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql-test-run.pl: debugger option
.\" mysql-test-run.pl: debugger option
.\" debugger option: mysql-test-run.pl
.\" debugger option: mysql-test-run.pl
\fB\-\-debugger=\fR\fB\fIdebugger\fR\fR
\fB\-\-debugger=\fR\fB\fIdebugger\fR\fR
...
@@ -691,11 +793,22 @@ to
...
@@ -691,11 +793,22 @@ to
prefix is used so that
prefix is used so that
\fBmysqld\fR
\fBmysqld\fR
does not fail if Debug Sync is not compiled in\&.
does not fail if Debug Sync is not compiled in\&.
.RE
.sp
.sp
For information about using the Debug Sync facility for testing, see
.RS 4
Section\ \&4.14, \(lqThread Synchronization in Test Cases\(rq\&.
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql-test-run.pl: default-myisam option
.\" default-myisam option: mysql-test-run.pl
\fB\-\-default\-myisam\fR
.sp
.sp
This option was added in MySQL 5\&.1\&.41/5\&.5\&.0/6\&.0\&.6\&.
Set default storage engine to MyISAM for non-innodb tests\&. This is
needed after switching default storage engine to InnoDB\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -707,7 +820,7 @@ This option was added in MySQL 5\&.1\&.41/5\&.5\&.0/6\&.0\&.6\&.
...
@@ -707,7 +820,7 @@ This option was added in MySQL 5\&.1\&.41/5\&.5\&.0/6\&.0\&.6\&.
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysql-test-run.pl: defaults-file option
.\" mysql-test-run.pl: defaults-file option
.\" default-file option: mysql-test-run.pl
.\" defaults-file option: mysql-test-run.pl
\fB\-\-defaults\-file=\fR\fB\fIfile_name\fR\fR
\fB\-\-defaults\-file=\fR\fB\fIfile_name\fR\fR
.sp
.sp
Use the named file as fixed config file template for all tests\&.
Use the named file as fixed config file template for all tests\&.
...
@@ -738,11 +851,12 @@ Add setting from the named file to all generated configs\&.
...
@@ -738,11 +851,12 @@ Add setting from the named file to all generated configs\&.
The maximum number of simultaneous server connections that may be used per test\&. If not set, the maximum is 128\&. Minimum allowed limit is 8, maximum is 5120\&. Corresponds to the same option for
The maximum number of simultaneous server connections that may be used per test\&. If not set, the maximum is 128\&. Minimum allowed limit is 8, maximum is 5120\&. Corresponds to the same option for
\fBmysqltest\fR\&.
\fBmysqltest\fR\&.
.sp
This option is available from MySQL 5\&.1\&.45\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1073,7 +1263,7 @@ MTR_MAX_SAVE_DATADIR
...
@@ -1073,7 +1263,7 @@ MTR_MAX_SAVE_DATADIR
.\" max-test-fail option: mysql-test-run.pl
.\" max-test-fail option: mysql-test-run.pl
\fB\-\-max\-test\-fail=\fR\fB\fIN\fR\fR
\fB\-\-max\-test\-fail=\fR\fB\fIN\fR\fR
.sp
.sp
Stop execution after the specified number of tests have failed, to avoid using up resources (and time) in case of massive failures\&. retries are noe counted, nor are failures of tests marked experimental\&. Defaults to 10, set to 0 for no limit\&. May also be set with the environment variable
Stop execution after the specified number of tests have failed, to avoid using up resources (and time) in case of massive failures\&. retries are not counted, nor are failures of tests marked experimental\&. Defaults to 10, set to 0 for no limit\&. May also be set with the environment variable
MTR_MAX_TEST_FAIL
MTR_MAX_TEST_FAIL
.RE
.RE
.sp
.sp
...
@@ -1129,8 +1319,22 @@ option next time\&.
...
@@ -1129,8 +1319,22 @@ option next time\&.
Extra options to pass to
Extra options to pass to
\fBmysqld\fR\&. The value should consist of one or more comma\-separated
\fBmysqld\fR\&. The value should consist of one or more comma\-separated
\fBmysqld\fR
\fBmysqld\fR
options\&. See
options\&.
Section\ \&4.9, \(lqPassing Options from mysql-test-run.pl to mysqld or mysqltest\(rq\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql-test-run.pl: mysqld-env option
.\" mysqld-env option: mysql-test-run.pl
\fB\-\-mysqld\-env=\fR\fB\fIVAR=VAL\fR\fR
.sp
Specify additional environment settings for "mysqld"\&. Use additional \fB--mysqld-env\fR options to set more than one variable\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1233,7 +1437,7 @@ Run tests using
...
@@ -1233,7 +1437,7 @@ Run tests using
parallel threads\&. By default, 1 thread is used\&. Use
parallel threads\&. By default, 1 thread is used\&. Use
\fB\-\-parallel=auto\fR
\fB\-\-parallel=auto\fR
for auto\-setting of
for auto\-setting of
\fIN\fR\&. The auto value was added in MySQL 5\&.1\&.36\&.
\fIN\fR\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1246,7 +1450,7 @@ for auto\-setting of
...
@@ -1246,7 +1450,7 @@ for auto\-setting of
.\}
.\}
.\" mysql-test-run.pl: port-base option
.\" mysql-test-run.pl: port-base option
.\" port-base option: mysql-test-run.pl
.\" port-base option: mysql-test-run.pl
\fB\-\-port\-base=\fR\fB\fIP\fR\fR
\fB\-\-[mtr\-]port\-base=\fR\fB\fIP\fR\fR
.sp
.sp
Specify base of port numbers to be used; a block of 10 will be allocated\&.
Specify base of port numbers to be used; a block of 10 will be allocated\&.
\fIP\fR
\fIP\fR
...
@@ -1254,14 +1458,12 @@ should be divisible by 10; if it is not, it will be rounded down\&. If running w
...
@@ -1254,14 +1458,12 @@ should be divisible by 10; if it is not, it will be rounded down\&. If running w
.sp
.sp
If the port number is given as
If the port number is given as
auto, which is also the default,
auto, which is also the default,
\fBmysql\-test\-run\&.pl\fRwill allocate a number unique to this host\&. The value may also be given with the environment variable
\fBmysql\-test\-run\&.pl\fRwill allocate a number unique to this host\&. The value may also be given with the environment variable
MTR_PORT_BASE\&.
MTR_PORT_BASE\&.
.sp
.sp
If both \fB\-\-build\-thread\fR and \fB\-\-port\-base\fR are used,
\fB\-\-port\-base\fR
\fB\-\-port\-base\fR
was added in MySQL 5\&.1\&.45 as a more logical alternative to
takes precedence\&.
\fB\-\-build\-thread\fR\&. If both are used,
\fB\-\-port\-base\fR
takes presedence\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1291,10 +1493,7 @@ Do not run any tests, but print details about all tests, in the order they would
...
@@ -1291,10 +1493,7 @@ Do not run any tests, but print details about all tests, in the order they would
.\" ps-protocol option: mysql-test-run.pl
.\" ps-protocol option: mysql-test-run.pl
\fB\-\-ps\-protocol\fR
\fB\-\-ps\-protocol\fR
.sp
.sp
Pass the
Use the binary protocol between client and server\&.
\fB\-\-ps\-protocol\fR
option to
\fBmysqltest\fR\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1359,10 +1558,23 @@ number of times\&.
...
@@ -1359,10 +1558,23 @@ number of times\&.
.\" report-features option: mysql-test-run.pl
.\" report-features option: mysql-test-run.pl
\fB\-\-report\-features\fR
\fB\-\-report\-features\fR
.sp
.sp
Display the output of
First run a "test" that reports MariaDB features, displaying the output of SHOW ENGINES and SHOW VARIABLES\&. This can be
SHOW ENGINES
used to verify that binaries are built with all required features\&.
and
.RE
SHOW VARIABLES\&. This can be used to verify that binaries are built with all required features\&.
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql-test-run.pl: report-times option
.\" report-times option: mysql-test-run.pl
\fB\-\-report\-times\fR
.sp
Report how much time has been spent on different phases of test execution\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1379,7 +1591,8 @@ SHOW VARIABLES\&. This can be used to verify that binaries are built with all re
...
@@ -1379,7 +1591,8 @@ SHOW VARIABLES\&. This can be used to verify that binaries are built with all re
.sp
.sp
If a test fails, it is retried up to a maximum of
If a test fails, it is retried up to a maximum of
\fIN\fR
\fIN\fR
runs, but will terminate after 2 failures\&. Default is 3, set to 1 or 0 for no retries\&. This option has no effect unless
runs (default 1)\&. Retries are also limited by the maximum number of failures before stopping,
set with the \fB-\-retry\-failure\fR option\&. This option has no effect unless
\fB\-\-force\fR
\fB\-\-force\fR
is also used; without it, test execution will terminate after the first failure\&.
is also used; without it, test execution will terminate after the first failure\&.
.sp
.sp
...
@@ -1404,7 +1617,8 @@ may fail in total, as each repetition is considered a new test case, which may i
...
@@ -1404,7 +1617,8 @@ may fail in total, as each repetition is considered a new test case, which may i
.\" retry-failure option: mysql-test-run.pl
.\" retry-failure option: mysql-test-run.pl
\fB\-\-retry\-failure=\fR\fB\fIN\fR\fR
\fB\-\-retry\-failure=\fR\fB\fIN\fR\fR
.sp
.sp
Allow a failed and retried test to fail more than the default 2 times before giving it up\&. Setting it to 0 or 1 effectively turns off retries
When using the \fB-\-retry\fR option to retry failed tests,
stop when N failures have occured (default 2)\&. Setting it to 0 or 1 effectively turns off retries\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1515,7 +1729,7 @@ with support for SSL connections\&.
...
@@ -1515,7 +1729,7 @@ with support for SSL connections\&.
Run stress test, providing options to mysql\-stress\-test\&.pl\&. Options are separated by comma\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1699,13 +2006,41 @@ output for
...
@@ -1699,13 +2006,41 @@ output for
.\}
.\}
.\" mysql-test-run.pl: suite option
.\" mysql-test-run.pl: suite option
.\" suite option: mysql-test-run.pl
.\" suite option: mysql-test-run.pl
\fB\-\-suite=\fR\fB\fIsuite_name\fR\fR
\fB\-\-suite[s]=\fR\fB\fIsuite_name...\fR\fR
.sp
.sp
Run the named test suite\&. The default name is
Comma separated list of suite names to run. The default is: "main-,archive-,binlog-,csv-,federated-,funcs_1-,funcs_2-,handler-,heap-,innodb-,innodb_fts-,
If this file is detected, mysqltest will not start new tests until the file is removed (also MTR_STOP_FILE environment variable)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql-test-run.pl: stop-keep-alive option
.\" stop-keep-alive option: mysql-test-run.pl
\fB\-\-stop\-keep\-alive=\fR\fB\fIsec\fR\fR
.sp
Works with \fB--stop-file\fR, print messages every \fIsec\fR seconds when mysqltest is waiting to remove the file (for buildbot) (also MTR_STOP_KEEP_ALIVE environment variable)\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1720,7 +2055,7 @@ directory)\&.
...
@@ -1720,7 +2055,7 @@ directory)\&.
.\" suite-timeout option: mysql-test-run.pl
.\" suite-timeout option: mysql-test-run.pl
\fB\-\-suite\-timeout=\fR\fB\fIminutes\fR\fR
\fB\-\-suite\-timeout=\fR\fB\fIminutes\fR\fR
.sp
.sp
Specify the maximum test suite runtime\&.
Specify the maximum test suite runtime in minutes\&. The default is 360\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1735,7 +2070,7 @@ Specify the maximum test suite runtime\&.
...
@@ -1735,7 +2070,7 @@ Specify the maximum test suite runtime\&.
.\" testcase-timeout option: mysql-test-run.pl
.\" testcase-timeout option: mysql-test-run.pl
\fB\-\-testcase\-timeout\fR
\fB\-\-testcase\-timeout\fR
.sp
.sp
Specify the maximum test case runtime\&.
Specify the maximum test case runtime in minutes\&. The default is 15\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1750,8 +2085,7 @@ Specify the maximum test case runtime\&.
...
@@ -1750,8 +2085,7 @@ Specify the maximum test case runtime\&.
.\" timediff option: mysql-test-run.pl
.\" timediff option: mysql-test-run.pl
\fB\-\-timediff\fR
\fB\-\-timediff\fR
.sp
.sp
Adds to each test report for a test case, the total time in sconds and milliseconds passed since the preceding test ended\&. This option can only be used together with
Used with \fB\-\-timestamp\fR, also print time passed since the previous test started\&.
\fB\-\-timestamp\fR, and has no effect without it\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1817,7 +2151,22 @@ will be set to the path for this directory, whether it has the default value or
...
@@ -1817,7 +2151,22 @@ will be set to the path for this directory, whether it has the default value or
.\" user option: mysql-test-run.pl
.\" user option: mysql-test-run.pl
\fB\-\-user=\fR\fB\fIuser_name\fR\fR
\fB\-\-user=\fR\fB\fIuser_name\fR\fR
.sp
.sp
The MySQL user name to use when connecting to the server\&.
The MariaDB user name to use when connecting to the server (default root)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql-test-run.pl: user-args option
.\" user-args option: mysql-test-run.pl
\fB\-\-user\-args\fR
.sp
In combination with \fBstart*\fR and no test name, drops arguments to mysqld except those specified with \fB\-\-mysqld\fR (if any)\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1830,16 +2179,16 @@ The MySQL user name to use when connecting to the server\&.
...
@@ -1830,16 +2179,16 @@ The MySQL user name to use when connecting to the server\&.
.\}
.\}
.\" mysql-test-run.pl: valgrind option
.\" mysql-test-run.pl: valgrind option
.\" valgrind option: mysql-test-run.pl
.\" valgrind option: mysql-test-run.pl
\fB\-\-valgrind\fR
\fB\-\-valgrind[\-all]\fR
.sp
.sp
Run
Run
\fBmysqltest\fR
\fBmysqltest\fR
and
and
\fBmysqld\fR
\fBmysqld\fR
with
with
\fBvalgrind\fR\&. Thiks and the following
\fBvalgrind\fR\&. This and the following
\fB\-\-valgrind\fR
\fB\-\-valgrind\fR
options require that the executables have been build with
options require that the executables have been built with
\fBvalgrind\fR
\fBvalgrind\fR
support\&.
support\&.
.RE
.RE
...
@@ -1874,9 +2223,11 @@ server with
...
@@ -1874,9 +2223,11 @@ server with
.\" valgrind-mysqltest option: mysql-test-run.pl
.\" valgrind-mysqltest option: mysql-test-run.pl
\fB\-\-valgrind\-mysqltest\fR
\fB\-\-valgrind\-mysqltest\fR
.sp
.sp
Run
Run the
\fBmysqltest\fR
\fBmysqltest\fR
with
and
\fBmysql_client_test\fR
executables with
\fBvalgrind\fR\&.
\fBvalgrind\fR\&.
.RE
.RE
.sp
.sp
...
@@ -1892,8 +2243,7 @@ with
...
@@ -1892,8 +2243,7 @@ with
.\" valgrind-options option: mysql-test-run.pl
.\" valgrind-options option: mysql-test-run.pl
\fB\-\-valgrind\-option=\fR\fB\fIstr\fR\fR
\fB\-\-valgrind\-option=\fR\fB\fIstr\fR\fR
.sp
.sp
Extra options to pass to
Option to give \fBvalgrind\fR. Replaces default option(s)\&. Can be specified more then once&.
\fBvalgrind\fR\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1908,7 +2258,7 @@ Extra options to pass to
...
@@ -1908,7 +2258,7 @@ Extra options to pass to
.\" valgrind-path option: mysql-test-run.pl
.\" valgrind-path option: mysql-test-run.pl
\fB\-\-valgrind\-path=\fR\fB\fIpath\fR\fR
\fB\-\-valgrind\-path=\fR\fB\fIpath\fR\fR
.sp
.sp
Specify the path name to the
Path to the
\fBvalgrind\fR
\fBvalgrind\fR
executable\&.
executable\&.
.RE
.RE
...
@@ -1973,10 +2323,7 @@ Write when and why servers are restarted between test cases\&.
...
@@ -1973,10 +2323,7 @@ Write when and why servers are restarted between test cases\&.
.\" view-protocol option: mysql-test-run.pl
.\" view-protocol option: mysql-test-run.pl
\fB\-\-view\-protocol\fR
\fB\-\-view\-protocol\fR
.sp
.sp
Pass the
Create a view to execute all non updating queries\&.
\fB\-\-view\-protocol\fR
option to
\fBmysqltest\fR\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1991,9 +2338,9 @@ option to
...
@@ -1991,9 +2338,9 @@ option to
.\" vs-config option: mysql-test-run.pl
.\" vs-config option: mysql-test-run.pl
\fB\-\-vs\-config=\fR\fB\fIconfig_val\fR\fR
\fB\-\-vs\-config=\fR\fB\fIconfig_val\fR\fR
.sp
.sp
Specify the configuration used to build MySQL (for example,
Visual Studio configuration used to create executables
\fB\-\-vs\-config=debug\fR
(default: MTR_VS_CONFIG environment variable)
\fB\-\-vs\-config=release\fR)\&. This option is for Windows only\&.
This option is for Windows only\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -2012,9 +2359,7 @@ If
...
@@ -2012,9 +2359,7 @@ If
\fB\-\-start\fR
\fB\-\-start\fR
or
or
\fB\-\-start\-dirty\fR
\fB\-\-start\-dirty\fR
is used, wait for all servers to exit before termination\&. Otherise, it will terminate if one (of several) servers is restarted\&.
is used, wait for all servers to exit before termination\&. Otherwise, it will terminate if one (of several) servers is restarted\&.
.sp
This option was added in MySQL 5\&.1\&.36\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -2052,7 +2397,7 @@ in their name\&.
...
@@ -2052,7 +2397,7 @@ in their name\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright \(co 2007, 2010, Oracle and/or its affiliates
Copyright \(co 2007, 2010, Oracle and/or its affiliates, 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -2061,8 +2406,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -2061,8 +2406,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -3000,8 +2993,6 @@ Bug#25946
...
@@ -3000,8 +2993,6 @@ Bug#25946
\%http://bugs.mysql.com/bug.php?id=25946
\%http://bugs.mysql.com/bug.php?id=25946
.RE
.RE
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
MySQL distributions on Unix include a script named
MariaDB distributions on Unix include a script named
\fBmysql\&.server\fR\&. It can be used on systems such as Linux and Solaris that use System V\-style run directories to start and stop system services\&. It is also used by the Mac OS X Startup Item for MySQL\&.
\fBmysql\&.server\fR\&. It can be used on systems such as Linux and Solaris that use System V\-style run directories to start and stop system services\&. It is also used by the Mac OS X Startup Item for MariaDB\&.
.PP
.PP
\fBmysql\&.server\fR
\fBmysql\&.server\fR
can be found in the
can be found in the
support\-files
support\-files
directory under your MySQL installation directory or in a MySQL source distribution\&.
directory under your MariaDB installation directory or in a MariaDB source distribution\&.
.PP
.PP
If you use the Linux server RPM package (MySQL\-server\-\fIVERSION\fR\&.rpm), the
If you use the Linux server RPM package (MySQL\-server\-\fIVERSION\fR\&.rpm), the
\fBmysql\&.server\fR
\fBmysql\&.server\fR
script will be installed in the
script will be installed in the
/etc/init\&.d
/etc/init\&.d
directory with the name
directory with the name
mysql\&. You need not install it manually\&. See
mysql\&. You need not install it manually\&.
Section\ \&2.6.1, \(lqInstalling MySQL from RPM Packages on Linux\(rq, for more information on the Linux RPM packages\&.
.PP
.PP
Some vendors provide RPM packages that install a startup script under a different name such as
Some vendors provide RPM packages that install a startup script under a different name such as
\fBmysqld\fR\&.
\fBmysqld\fR\&.
.PP
.PP
If you install MySQL from a source distribution or using a binary distribution format that does not install
If you install MariaDB from a source distribution or using a binary distribution format that does not install
\fBmysql\&.server\fR
\fBmysql\&.server\fR
automatically, you can install it manually\&. Instructions are provided in
automatically, you can install it manually\&.
Section\ \&2.13.1.2, \(lqStarting and Stopping MySQL Automatically\(rq\&.
.PP
.PP
\fBmysql\&.server\fR
\fBmysql\&.server\fR
reads options from the
reads options from the
...
@@ -58,8 +49,7 @@ and
...
@@ -58,8 +49,7 @@ and
sections of option files\&. For backward compatibility, it also reads
sections of option files\&. For backward compatibility, it also reads
[mysql_server]
[mysql_server]
sections, although you should rename such sections to
sections, although you should rename such sections to
[mysql\&.server]
[mysql\&.server]&.
when using MySQL 5\&.1\&.
.PP
.PP
\fBmysql\&.server\fR
\fBmysql\&.server\fR
supports the following options\&.
supports the following options\&.
...
@@ -76,7 +66,7 @@ supports the following options\&.
...
@@ -76,7 +66,7 @@ supports the following options\&.
.\" basedir option: mysql.server
.\" basedir option: mysql.server
\fB\-\-basedir=\fR\fB\fIpath\fR\fR
\fB\-\-basedir=\fR\fB\fIpath\fR\fR
.sp
.sp
The path to the MySQL installation directory\&.
The path to the MariaDB installation directory\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -91,7 +81,7 @@ The path to the MySQL installation directory\&.
...
@@ -91,7 +81,7 @@ The path to the MySQL installation directory\&.
.\" datadir option: mysql.server
.\" datadir option: mysql.server
\fB\-\-datadir=\fR\fB\fIpath\fR\fR
\fB\-\-datadir=\fR\fB\fIpath\fR\fR
.sp
.sp
The path to the MySQL data directory\&.
The path to the MariaDB data directory\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -106,7 +96,7 @@ The path to the MySQL data directory\&.
...
@@ -106,7 +96,7 @@ The path to the MySQL data directory\&.
.\" pid-file option: mysql.server
.\" pid-file option: mysql.server
\fB\-\-pid\-file=\fR\fB\fIfile_name\fR\fR
\fB\-\-pid\-file=\fR\fB\fIfile_name\fR\fR
.sp
.sp
The path name of the file in which the server should write its process ID\&.
The path name of the file in which the server should write its process ID\&. If not provided, the default, "host_name.pid" is used.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -123,7 +113,7 @@ The path name of the file in which the server should write its process ID\&.
...
@@ -123,7 +113,7 @@ The path name of the file in which the server should write its process ID\&.
.sp
.sp
How long in seconds to wait for confirmation of server startup\&. If the server does not start within this time,
How long in seconds to wait for confirmation of server startup\&. If the server does not start within this time,
\fBmysql\&.server\fR
\fBmysql\&.server\fR
exits with an error\&. The default value is 900\&. A value of 0 means not to wait at all for startup\&. Negative values mean to wait forever (no timeout)\&. This option was added in MySQL 5\&.1\&.17\&. Before that, a value of 900 is always used\&.
exits with an error\&. The default value is 900\&. A value of 0 means not to wait at all for startup\&. Negative values mean to wait forever (no timeout)\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -176,7 +166,7 @@ The login user name to use for running
...
@@ -176,7 +166,7 @@ The login user name to use for running
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -185,8 +175,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -185,8 +175,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
Write a debugging log if MySQL is built with debugging support\&. The default
Write a debugging log if MariaDB is built with debugging support\&. The default
\fIdebug_options\fR
\fIdebug_options\fR
value is
value is
\'d:t:o,/tmp/mysql_client_test\&.trace\'\&.
\'d:t:o,/tmp/mysql_client_test\&.trace\'\&.
...
@@ -165,7 +158,7 @@ library\&.
...
@@ -165,7 +158,7 @@ library\&.
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-h \fR\fB\fIhost_name\fR\fR
\fB\-h \fR\fB\fIhost_name\fR\fR
.sp
.sp
Connect to the MySQL server on the given host\&.
Connect to the MariaDB server on the given host\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -304,7 +297,7 @@ may optionally behave in a different way than if called manually, for example by
...
@@ -304,7 +297,7 @@ may optionally behave in a different way than if called manually, for example by
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-u \fR\fB\fIuser_name\fR\fR
\fB\-u \fR\fB\fIuser_name\fR\fR
.sp
.sp
The MySQL user name to use when connecting to the server\&.
The MariaDB user name to use when connecting to the server\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -326,7 +319,7 @@ mysql\-test/var\&.
...
@@ -326,7 +319,7 @@ mysql\-test/var\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright \(co 2007, 2010, Oracle and/or its affiliates
Copyright \(co 2007, 2010, Oracle and/or its affiliates, 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -335,8 +328,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -335,8 +328,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -27,7 +20,7 @@ mysql_config \- get compile options for compiling clients
...
@@ -27,7 +20,7 @@ mysql_config \- get compile options for compiling clients
.SH "DESCRIPTION"
.SH "DESCRIPTION"
.PP
.PP
\fBmysql_config\fR
\fBmysql_config\fR
provides you with useful information for compiling your MySQL client and connecting it to MySQL\&.
provides you with useful information for compiling your MariaDB client and connecting it to MariaDB\&.
.PP
.PP
\fBmysql_config\fR
\fBmysql_config\fR
supports the following options\&.
supports the following options\&.
...
@@ -63,7 +56,7 @@ for more portable options that contain only include paths\&.
...
@@ -63,7 +56,7 @@ for more portable options that contain only include paths\&.
.\" include option: mysql_config
.\" include option: mysql_config
\fB\-\-include\fR
\fB\-\-include\fR
.sp
.sp
Compiler options to find MySQL include files\&.
Compiler options to find MariaDB include files\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -81,7 +74,7 @@ Compiler options to find MySQL include files\&.
...
@@ -81,7 +74,7 @@ Compiler options to find MySQL include files\&.
\fB\-\-libmysqld\-libs\fR,
\fB\-\-libmysqld\-libs\fR,
\fB\-\-embedded\fR
\fB\-\-embedded\fR
.sp
.sp
Libraries and options required to link with the MySQL embedded server\&.
Libraries and options required to link with the MariaDB embedded server\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -96,7 +89,7 @@ Libraries and options required to link with the MySQL embedded server\&.
...
@@ -96,7 +89,7 @@ Libraries and options required to link with the MySQL embedded server\&.
.\" libs option: mysql_config
.\" libs option: mysql_config
\fB\-\-libs\fR
\fB\-\-libs\fR
.sp
.sp
Libraries and options required to link with the MySQL client library\&.
Libraries and options required to link with the MariaDB client library\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -111,7 +104,7 @@ Libraries and options required to link with the MySQL client library\&.
...
@@ -111,7 +104,7 @@ Libraries and options required to link with the MySQL client library\&.
.\" libs_r option: mysql_config
.\" libs_r option: mysql_config
\fB\-\-libs_r\fR
\fB\-\-libs_r\fR
.sp
.sp
Libraries and options required to link with the thread\-safe MySQL client library\&.
Libraries and options required to link with the thread\-safe MariaDB client library\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -126,7 +119,7 @@ Libraries and options required to link with the thread\-safe MySQL client librar
...
@@ -126,7 +119,7 @@ Libraries and options required to link with the thread\-safe MySQL client librar
.\" plugindir option: mysql_config
.\" plugindir option: mysql_config
\fB\-\-plugindir\fR
\fB\-\-plugindir\fR
.sp
.sp
The default plugin directory path name, defined when configuring MySQL\&. This option was added in MySQL 5\&.1\&.24\&.
The default plugin directory path name, defined when configuring MariaDB\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -141,7 +134,7 @@ The default plugin directory path name, defined when configuring MySQL\&. This o
...
@@ -141,7 +134,7 @@ The default plugin directory path name, defined when configuring MySQL\&. This o
.\" port option: mysql_config
.\" port option: mysql_config
\fB\-\-port\fR
\fB\-\-port\fR
.sp
.sp
The default TCP/IP port number, defined when configuring MySQL\&.
The default TCP/IP port number, defined when configuring MariaDB\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -156,7 +149,7 @@ The default TCP/IP port number, defined when configuring MySQL\&.
...
@@ -156,7 +149,7 @@ The default TCP/IP port number, defined when configuring MySQL\&.
.\" socket option: mysql_config
.\" socket option: mysql_config
\fB\-\-socket\fR
\fB\-\-socket\fR
.sp
.sp
The default Unix socket file, defined when configuring MySQL\&.
The default Unix socket file, defined when configuring MariaDB\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -171,7 +164,7 @@ The default Unix socket file, defined when configuring MySQL\&.
...
@@ -171,7 +164,7 @@ The default Unix socket file, defined when configuring MySQL\&.
.\" variable option: mysql_config
.\" variable option: mysql_config
\fB\-\-variable=VAR\fR
\fB\-\-variable=VAR\fR
.sp
.sp
Path to MySQL include, library and plugin directories\&. \fBVAR\fR is one of
Path to MariaDB include, library and plugin directories\&. \fBVAR\fR is one of
`pkgincludedir`, `pkglibdir` and `plugindir`, respectively\&.
`pkgincludedir`, `pkglibdir` and `plugindir`, respectively\&.
.RE
.RE
.sp
.sp
...
@@ -187,7 +180,7 @@ Path to MySQL include, library and plugin directories\&. \fBVAR\fR is one of
...
@@ -187,7 +180,7 @@ Path to MySQL include, library and plugin directories\&. \fBVAR\fR is one of
.\" version option: mysql_config
.\" version option: mysql_config
\fB\-\-version\fR
\fB\-\-version\fR
.sp
.sp
Version number for the MySQL distribution\&.
Version number for the MariaDB distribution\&.
.RE
.RE
.PP
.PP
If you invoke
If you invoke
...
@@ -219,7 +212,7 @@ Options:
...
@@ -219,7 +212,7 @@ Options:
.PP
.PP
You can use
You can use
\fBmysql_config\fR
\fBmysql_config\fR
within a command line to include the value that it displays for a particular option\&. For example, to compile a MySQL client program, use
within a command line to include the value that it displays for a particular option\&. For example, to compile a MariaDB client program, use
\fBmysql_config\fR
\fBmysql_config\fR
as follows:
as follows:
.sp
.sp
...
@@ -240,7 +233,7 @@ this way, be sure to invoke it within backtick (\(lq`\(rq) characters\&. That te
...
@@ -240,7 +233,7 @@ this way, be sure to invoke it within backtick (\(lq`\(rq) characters\&. That te
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -249,8 +242,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -249,8 +242,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -100,7 +93,7 @@ Continue even if errors occur\&.
...
@@ -100,7 +93,7 @@ Continue even if errors occur\&.
.\" host option: mysql_convert_table_format
.\" host option: mysql_convert_table_format
\fB\-\-host=\fR\fB\fIhost_name\fR\fR
\fB\-\-host=\fR\fB\fIhost_name\fR\fR
.sp
.sp
Connect to the MySQL server on the given host\&.
Connect to the MariaDB server on the given host\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -115,10 +108,9 @@ Connect to the MySQL server on the given host\&.
...
@@ -115,10 +108,9 @@ Connect to the MySQL server on the given host\&.
.\" password option: mysql_convert_table_format
.\" password option: mysql_convert_table_format
\fB\-\-password=\fR\fB\fIpassword\fR\fR
\fB\-\-password=\fR\fB\fIpassword\fR\fR
.sp
.sp
The password to use when connecting to the server\&. Note that the password value is not optional for this option, unlike for other MySQL programs\&.
The password to use when connecting to the server\&. Note that the password value is not optional for this option, unlike for other MariaDB programs\&.
.sp
.sp
Specifying a password on the command line should be considered insecure\&. See
Specifying a password on the command line should be considered insecure\&. You can use an option file to avoid giving the password on the command line\&.
Section\ \&5.3.2.2, \(lqEnd-User Guidelines for Password Security\(rq\&. You can use an option file to avoid giving the password on the command line\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -181,7 +173,7 @@ if this option is not given\&.
...
@@ -181,7 +173,7 @@ if this option is not given\&.
.\" user option: mysql_convert_table_format
.\" user option: mysql_convert_table_format
\fB\-\-user=\fR\fB\fIuser_name\fR\fR
\fB\-\-user=\fR\fB\fIuser_name\fR\fR
.sp
.sp
The MySQL user name to use when connecting to the server\&.
The MariaDB user name to use when connecting to the server\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -216,7 +208,7 @@ Display version information and exit\&.
...
@@ -216,7 +208,7 @@ Display version information and exit\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -225,8 +217,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -225,8 +217,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -160,8 +153,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -160,8 +153,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -70,8 +63,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -70,8 +63,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
Set \fB\fIfilename\fR\fR as the file to read default options from after the global defaults files has been read\&.
Must be given as first option\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlcheck: defaults-file option
.\" defaults-file option: mysqlcheck
\fB\-\-defaults\-file=\fR\fB\fIfilename\fR\fR
.sp
Set \fB\fIfilename\fR\fR as the file to read default options from, override global defaults files\&.
Must be given as first option\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_install_db: force option
.\" force option: mysql_install_db
\fB\-\-force\fR
.sp
Cause
\fBmysql_install_db\fR
to run even if DNS does not work\&. In that case, grant table entries that normally use host names will use IP addresses\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlcheck: help option
.\" help option: mysqlcheck
\fB\-\-help\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
.\}
.\" mysqlcheck: no-defaults option
.\" no-defaults option: mysqlcheck
\fB\-\-no\-defaults\fR
.sp
Do not read default options from any option file\&. This must be given as the first argument\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlcheck: print-defaults option
.\" print-defaults option: mysqlcheck
\fB\-\-print\-defaults\fR
.sp
Print the program argument list and exit\&.
This must be given as the first argument\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -163,7 +265,7 @@ The path to the MySQL data directory\&.
...
@@ -163,7 +265,7 @@ The path to the MySQL data directory\&.
.\" rpm option: mysql_install_db
.\" rpm option: mysql_install_db
\fB\-\-rpm\fR
\fB\-\-rpm\fR
.sp
.sp
For internal use\&. This option is used by RPM files during the MySQL installation process\&.
For internal use\&. This option is used by RPM files during the MariaDB installation process\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -195,7 +297,7 @@ Use IP addresses rather than host names when creating grant table entries\&. Thi
...
@@ -195,7 +297,7 @@ Use IP addresses rather than host names when creating grant table entries\&. Thi
.sp
.sp
For internal use\&. The directory under which
For internal use\&. The directory under which
\fBmysql_install_db\fR
\fBmysql_install_db\fR
looks for support files such as the error message file and the file for populating the help tables\&. This option was added in MySQL 5\&.1\&.14\&.
looks for support files such as the error message file and the file for populating the help tables\&.4\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -252,7 +354,7 @@ For internal use\&. This option is used for creating Windows distributions\&.
...
@@ -252,7 +354,7 @@ For internal use\&. This option is used for creating Windows distributions\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -261,8 +363,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -261,8 +363,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -37,15 +30,13 @@ mysql_plugin \- configure MySQL server plugins
...
@@ -37,15 +30,13 @@ mysql_plugin \- configure MySQL server plugins
.PP
.PP
The
The
\fBmysql_plugin\fR
\fBmysql_plugin\fR
utility enables MySQL administrators to manage which plugins a MySQL server loads\&. It provides an alternative to manually specifying the
utility enables MariaDB administrators to manage which plugins a MariaDB server loads\&. It provides an alternative to manually specifying the
\fB\-\-plugin\-load\fR
\fB\-\-plugin\-load\fR
option at server startup or using the
option at server startup or using the
INSTALL PLUGIN
INSTALL PLUGIN
and
and
UNINSTALL PLUGIN
UNINSTALL PLUGIN
statements at runtime\&.
statements at runtime\&.
\fBmysql_plugin\fR
is available as of MySQL 5\&.5\&.16\&.
.PP
.PP
Depending on whether
Depending on whether
\fBmysql_plugin\fR
\fBmysql_plugin\fR
...
@@ -53,12 +44,11 @@ is invoked to enable or disable plugins, it inserts or deletes rows in the
...
@@ -53,12 +44,11 @@ is invoked to enable or disable plugins, it inserts or deletes rows in the
mysql\&.plugin
mysql\&.plugin
table that serves as a plugin registry\&. (To perform this operation,
table that serves as a plugin registry\&. (To perform this operation,
\fBmysql_plugin\fR
\fBmysql_plugin\fR
invokes the MySQL server in bootstrap mode\&. This means that the server must not already be running\&.) For normal server startups, the server loads and enables plugins listed in
invokes the MariaDB server in bootstrap mode\&. This means that the server must not already be running\&.) For normal server startups, the server loads and enables plugins listed in
mysql\&.plugin
mysql\&.plugin
automatically\&. For additional control over plugin activation, use
automatically\&. For additional control over plugin activation, use
\fB\-\-\fR\fB\fIplugin_name\fR\fR
\fB\-\-\fR\fB\fIplugin_name\fR\fR
options named for specific plugins, as described in
options named for specific plugins\&.
Section\ \&5.1.8.1, \(lqInstalling and Uninstalling Plugins\(rq\&.
.PP
.PP
Each invocation of
Each invocation of
\fBmysql_plugin\fR
\fBmysql_plugin\fR
...
@@ -150,7 +140,7 @@ An error occurs if
...
@@ -150,7 +140,7 @@ An error occurs if
\fBmysql_plugin\fR
\fBmysql_plugin\fR
cannot find the configuration file or plugin library file, or if
cannot find the configuration file or plugin library file, or if
\fBmysql_plugin\fR
\fBmysql_plugin\fR
cannot start the MySQL server\&.
cannot start the MariaDB server\&.
.PP
.PP
\fBmysql_plugin\fR
\fBmysql_plugin\fR
supports the following options, which can be specified on the command line or in the
supports the following options, which can be specified on the command line or in the
...
@@ -163,8 +153,7 @@ recognizes the
...
@@ -163,8 +153,7 @@ recognizes the
\fB\-\-basedir\fR,
\fB\-\-basedir\fR,
\fB\-\-datadir\fR, and
\fB\-\-datadir\fR, and
\fB\-\-plugin\-dir\fR
\fB\-\-plugin\-dir\fR
options and ignores others\&. For information about option files, see
options and ignores others\&.
Section\ \&4.2.3.3, \(lqUsing Option Files\(rq\&.
.PP
.PP
mysql_plugin Options
mysql_plugin Options
.sp
.sp
...
@@ -268,7 +257,7 @@ server\&.
...
@@ -268,7 +257,7 @@ server\&.
Do not read values from the configuration file\&. This option enables an administrator to skip reading defaults from the configuration file\&.
Do not read values from the configuration file\&. This option enables an administrator to skip reading defaults from the configuration file\&.
.sp
.sp
With
With
\fBmysql_plugin\fR, this option need not be given first on the command line, unlike most other MySQL programs that support
\fBmysql_plugin\fR, this option need not be given first on the command line, unlike most other MariaDB programs that support
\fB\-\-no\-defaults\fR\&.
\fB\-\-no\-defaults\fR\&.
.RE
.RE
.sp
.sp
...
@@ -334,7 +323,7 @@ to print the defaults for
...
@@ -334,7 +323,7 @@ to print the defaults for
if they are found in the configuration file\&. If no value for a variable is found, nothing is shown\&.
if they are found in the configuration file\&. If no value for a variable is found, nothing is shown\&.
.sp
.sp
With
With
\fBmysql_plugin\fR, this option need not be given first on the command line, unlike most other MySQL programs that support
\fBmysql_plugin\fR, this option need not be given first on the command line, unlike most other MariaDB programs that support
\fB\-\-print\-defaults\fR\&.
\fB\-\-print\-defaults\fR\&.
.RE
.RE
.sp
.sp
...
@@ -372,7 +361,7 @@ Display version information and exit\&.
...
@@ -372,7 +361,7 @@ Display version information and exit\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright \(co 1997, 2013, Oracle and/or its affiliates. All rights reserved.
Copyright \(co 1997, 2013, Oracle and/or its affiliates. All rights reserved., 2013-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -381,8 +370,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -381,8 +370,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
This program enables you to improve the security of your MySQL installation in the following ways:
This program enables you to improve the security of your MariaDB installation in the following ways:
.sp
.sp
.RS 4
.RS 4
.ie n \{\
.ie n \{\
...
@@ -96,7 +89,7 @@ The script will prompt you to determine which actions to perform\&.
...
@@ -96,7 +89,7 @@ The script will prompt you to determine which actions to perform\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -105,8 +98,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -105,8 +98,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
to display the help message, or options that indicate how to connect to the MySQL server\&. The account used when you connect determines which permissions you have when attempting to modify existing permissions in the grant tables\&.
to display the help message, or options that indicate how to connect to the MariaDB server\&. The account used when you connect determines which permissions you have when attempting to modify existing permissions in the grant tables\&.
.PP
.PP
\fBmysql_setpermissions\fR
\fBmysql_setpermission\fR
also reads options from the
also reads options from the
[client]
[client]
and
and
...
@@ -94,7 +86,7 @@ Display a help message and exit\&.
...
@@ -94,7 +86,7 @@ Display a help message and exit\&.
.\" host option: mysql_setpermission
.\" host option: mysql_setpermission
\fB\-\-host=\fR\fB\fIhost_name\fR\fR
\fB\-\-host=\fR\fB\fIhost_name\fR\fR
.sp
.sp
Connect to the MySQL server on the given host\&.
Connect to the MariaDB server on the given host\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -109,10 +101,9 @@ Connect to the MySQL server on the given host\&.
...
@@ -109,10 +101,9 @@ Connect to the MySQL server on the given host\&.
.\" password option: mysql_setpermission
.\" password option: mysql_setpermission
\fB\-\-password=\fR\fB\fIpassword\fR\fR
\fB\-\-password=\fR\fB\fIpassword\fR\fR
.sp
.sp
The password to use when connecting to the server\&. Note that the password value is not optional for this option, unlike for other MySQL programs\&.
The password to use when connecting to the server\&. Note that the password value is not optional for this option, unlike for other MariaDB programs\&.
.sp
.sp
Specifying a password on the command line should be considered insecure\&. See
Specifying a password on the command line should be considered insecure\&. You can use an option file to avoid giving the password on the command line\&.
Section\ \&5.3.2.2, \(lqEnd-User Guidelines for Password Security\(rq\&. You can use an option file to avoid giving the password on the command line\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -158,12 +149,12 @@ localhost, the Unix socket file to use\&.
...
@@ -158,12 +149,12 @@ localhost, the Unix socket file to use\&.
.\" user option: mysql_setpermission
.\" user option: mysql_setpermission
\fB\-\-user=\fR\fB\fIuser_name\fR\fR
\fB\-\-user=\fR\fB\fIuser_name\fR\fR
.sp
.sp
The MySQL user name to use when connecting to the server\&.
The MariaDB user name to use when connecting to the server\&.
.RE
.RE
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -172,8 +163,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -172,8 +163,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
database (the set of files describing time zones)\&. Examples of such systems are Linux, FreeBSD, Solaris, and Mac OS X\&. One likely location for these files is the
database (the set of files describing time zones)\&. Examples of such systems are Linux, FreeBSD, Solaris, and Mac OS X\&. One likely location for these files is the
/usr/share/zoneinfo
/usr/share/zoneinfo
directory (/usr/share/lib/zoneinfo
directory (/usr/share/lib/zoneinfo
on Solaris)\&. If your system does not have a zoneinfo database, you can use the downloadable package described in
on Solaris)\&.
Section\ \&9.6, \(lqMySQL Server Time Zone Support\(rq\&.
.PP
.PP
\fBmysql_tzinfo_to_sql\fR
\fBmysql_tzinfo_to_sql\fR
can be invoked several ways:
can be invoked several ways:
...
@@ -113,7 +105,7 @@ After running
...
@@ -113,7 +105,7 @@ After running
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -122,8 +114,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -122,8 +114,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
Some upgrade incompatibilities may require special handling before you upgrade your MySQL installation and run
\fBmysql_upgrade\fR\&. See
Section\ \&2.4.1, \(lqUpgrading MySQL\(rq, for instructions on determining whether any such incompatibilities apply to your installation and how to handle them\&.
.sp .5v
.sp .5v
.RE
.RE
.PP
.PP
...
@@ -149,8 +133,7 @@ option entails, see the description of the
...
@@ -149,8 +133,7 @@ option entails, see the description of the
@@ -168,52 +151,25 @@ that contains SQL statements to upgrade the tables in the
...
@@ -168,52 +151,25 @@ that contains SQL statements to upgrade the tables in the
mysql
mysql
database\&.
database\&.
.RE
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Prior to MySQL 5\&.1\&.31,
\fBmysql_upgrade\fR
does not run the second
\fBmysqlcheck\fR
command, which is necessary to re\-encode database or table names that contain nonalphanumeric characters\&. (They still appear after the upgrade with the
#mysql50#
prefix described in
Section\ \&8.2.3, \(lqMapping of Identifiers to File Names\(rq\&.) If you have such database or table names, execute the second
\fBmysqlcheck\fR
command manually after executing
\fBmysql_upgrade\fR\&.
.RE
.PP
.PP
All checked and repaired tables are marked with the current MySQL version number\&. This ensures that next time you run
All checked and repaired tables are marked with the current MariaDB version number\&. This ensures that next time you run
\fBmysql_upgrade\fR
\fBmysql_upgrade\fR
with the same version of the server, it can tell whether there is any need to check or repair the table again\&.
with the same version of the server, it can tell whether there is any need to check or repair the table again\&.
.\" mysql_upgrade_info file: mysql_upgrade
.\" mysql_upgrade_info file: mysql_upgrade
.\" mysql_upgrade: mysql_upgrade_info file
.\" mysql_upgrade: mysql_upgrade_info file
.PP
.PP
\fBmysql_upgrade\fR
\fBmysql_upgrade\fR
also saves the MySQL version number in a file named
also saves the MariaDB version number in a file named
mysql_upgrade_info
mysql_upgrade_info
in the data directory\&. This is used to quickly check whether all tables have been checked for this release so that table\-checking can be skipped\&. To ignore this file and perform the check regardless, use the
in the data directory\&. This is used to quickly check whether all tables have been checked for this release so that table\-checking can be skipped\&. To ignore this file and perform the check regardless, use the
\fB\-\-force\fR
\fB\-\-force\fR
option\&.
option\&.
.PP
.PP
If you install MySQL from RPM packages on Linux, you must install the server and client RPMs\&.
If you install MariaDB from RPM packages on Linux, you must install the server and client RPMs\&.
\fBmysql_upgrade\fR
\fBmysql_upgrade\fR
is included in the server RPM but requires the client RPM because the latter includes
is included in the server RPM but requires the client RPM because the latter includes
\fBmysqlcheck\fR\&. (See
\fBmysqlcheck\fR\&.
Section\ \&2.6.1, \(lqInstalling MySQL from RPM Packages on Linux\(rq\&.)
.PP
.PP
In MySQL 5\&.1\&.7,
\fBmysql_upgrade \fR
was added as a shell script and worked only for Unix systems\&. As of MySQL 5\&.1\&.10,
\fBmysql_upgrade\fR
is an executable binary and is available on all systems\&.
.PP
.PP
\fBmysql_upgrade\fR
\fBmysql_upgrade\fR
supports the following options, which can be specified on the command line or in the
supports the following options, which can be specified on the command line or in the
...
@@ -225,8 +181,7 @@ option file groups\&. Other options are passed to
...
@@ -225,8 +181,7 @@ option file groups\&. Other options are passed to
\fB\-\-password[=\fR\fB\fIpassword\fR\fR\fB]\fR
\fB\-\-password[=\fR\fB\fIpassword\fR\fR\fB]\fR
option\&.
option\&.
\fBmysql_upgrade\fR
\fBmysql_upgrade\fR
also supports the options for processing option files described at
also supports the options for processing option files\&.
Section\ \&4.2.3.3.1, \(lqCommand-Line Options that Affect Option-File Handling\(rq\&.
Old option accepted for backward compatibility but ignored\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -322,7 +324,256 @@ file and force execution of
...
@@ -322,7 +324,256 @@ file and force execution of
\fBmysqlcheck\fR
\fBmysqlcheck\fR
even if
even if
\fBmysql_upgrade\fR
\fBmysql_upgrade\fR
has already been executed for the current version of MySQL\&.
has already been executed for the current version of MariaDB\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: host option
.\" host option: mysql_upgrade
\fB\-\-host\fR
.sp
Connect to MariaDB on the given host\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: password option
.\" password option: mysql_upgrade
\fB\-\-password[=\fR\fB\fIpassword\fR\fR\fB]\fR,
\fB\-p[\fR\fB\fIpassword\fR\fR\fB]\fR
.sp
The password to use when connecting to the server\&. If you use the short option form (\fB\-p\fR), you
\fIcannot\fR
have a space between the option and the password\&. If you omit the
\fIpassword\fR
value following the
\fB\-\-password\fR
or
\fB\-p\fR
option on the command line,
\fBmysql_upgrade\fR
prompts for one\&.
.sp
Specifying a password on the command line should be considered insecure\&. You can use an option file to avoid giving the password on the command line\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: port option
.\" port option: mysql_upgrade
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
\fB\-P \fR\fB\fIport_num\fR\fR
.sp
The TCP/IP port number to use for the connection\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: protocol option
.\" protocol option: mysql_upgrade
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
.sp
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: silent option
.\" silent option: mysql_upgrade
\fB\-\-silent\fR
.sp
Print less information\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: socket option
.\" socket option: mysql_upgrade
\fB\-\-socket=\fR\fB\fIpath\fR\fR,
\fB\-S \fR\fB\fIpath\fR\fR
.sp
For connections to
localhost, the Unix socket file to use, or, on Windows, the name of the named pipe to use\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: SSL options
.\" SSL options: mysql_upgrade
\fB\-\-ssl\fR
.sp
Enable SSL for connection (automatically enabled with other flags). Disable with
\fB\-\-skip-ssl\fR\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: SSL CA option
.\" SSL CA option: mysql_upgrade
\fB\-\-ssl\-ca=\fIname\fR
.sp
CA file in PEM format (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: SSL CA Path option
.\" SSL CA Path option: mysql_upgrade
\fB\-\-ssl\-capath=\fIname\fR
.sp
CA directory (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: SSL Cert option
.\" SSL Cert option: mysql_upgrade
\fB\-\-ssl\-cert=\fIname\fR
.sp
X509 cert in PEM format (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: SSL Cipher option
.\" SSL Cipher option: mysql_upgrade
\fB\-\-ssl\-cipher=\fIname\fR
.sp
SSL cipher to use (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: SSL Key option
.\" SSL Key option: mysql_upgrade
\fB\-\-ssl\-key=\fIname\fR
.sp
X509 key in PEM format (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: SSL Crl option
.\" SSL CRL option: mysql_upgrade
\fB\-\-ssl\-crl=\fIname\fR
.sp
Certificate revocation list (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: SSL Crlpath option
.\" SSL Crlpath option: mysql_upgrade
\fB\-\-ssl\-crlpath=\fIname\fR
.sp
Certificate revocation list path (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: SSL Verify Server Cert option
.\" SSL Verify Server Cert option: mysql_upgrade
\fB\-\-ssl\-verify\-server\-cert\fR
.sp
Verify server's "Common Name" in its cert against hostname used when connecting. This option is disabled by default\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -338,7 +589,23 @@ has already been executed for the current version of MySQL\&.
...
@@ -338,7 +589,23 @@ has already been executed for the current version of MySQL\&.
\fB\-\-tmpdir=\fR\fB\fIpath\fR\fR,
\fB\-\-tmpdir=\fR\fB\fIpath\fR\fR,
\fB\-t \fR\fB\fIpath\fR\fR
\fB\-t \fR\fB\fIpath\fR\fR
.sp
.sp
The path name of the directory to use for creating temporary files\&. This option was added in MySQL 5\&.1\&.25\&.
The path name of the directory to use for creating temporary files\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: upgrade-system-tables option
.\" upgrade-system-tables option: mysql_upgrade
\fB\-\-upgrade\-system\-tables\fR\fR,
\fB\-s \fR
.sp
Only upgrade the system tables in the mysql database\&. Tables in other databases are not checked or touched\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -354,8 +621,7 @@ The path name of the directory to use for creating temporary files\&. This optio
...
@@ -354,8 +621,7 @@ The path name of the directory to use for creating temporary files\&. This optio
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-u \fR\fB\fIuser_name\fR\fR
\fB\-u \fR\fB\fIuser_name\fR\fR
.sp
.sp
The MySQL user name to use when connecting to the server\&. The default user name is
The MariaDB user name to use when connecting to the server and not using the current login\&.
root\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -370,7 +636,45 @@ root\&.
...
@@ -370,7 +636,45 @@ root\&.
.\" verbose option: mysql_upgrade
.\" verbose option: mysql_upgrade
\fB\-\-verbose\fR
\fB\-\-verbose\fR
.sp
.sp
Verbose mode\&. Print more information about what the program does\&.
Display more output about the process\&. Using it twice will print connection
arguments; using it 3 times will print out all CHECK, RENAME and ALTER TABLE
commands used during the check phase; using it 4 times (added in MariaDB 10.0.14)
will also write out all mysqlcheck commands used\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: version option
.\" version option: mysql_upgrade
\fB\-\-version\fR,
\fB\-V\fR
.sp
Output version information and exit\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysql_upgrade: version-check option
.\" version-check option: mysql_upgrade
\fB\-\-version\-check\fR,
\fB\-k\fR
.sp
Run this program only if its 'server version' matches the version
of the server to which it's connecting. Note: the 'server version'
of the program is the version of the MariaDB server with which
it was built/distributed. Defaults to on; use \fB\-\-skip\-version\-check\fR to disable\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -389,13 +693,11 @@ Cause binary logging to be enabled while
...
@@ -389,13 +693,11 @@ Cause binary logging to be enabled while
\fBmysql_upgrade\fR
\fBmysql_upgrade\fR
runs\&. This is the default behavior; to disable binary logging during the upgrade, use the inverse of this option (that is, start the program with
runs\&. This is the default behavior; to disable binary logging during the upgrade, use the inverse of this option (that is, start the program with
\fB\-\-skip\-write\-binlog\fR)\&.
\fB\-\-skip\-write\-binlog\fR)\&.
.sp
This option was introduced in MySQL 5\&.1\&.40\&.
.RE
.RE
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -404,8 +706,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -404,8 +706,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -120,7 +113,7 @@ Display version information and exit\&.
...
@@ -120,7 +113,7 @@ Display version information and exit\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -129,8 +122,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -129,8 +122,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -116,7 +109,7 @@ Test mode\&. Display information about each process but do not kill it\&.
...
@@ -116,7 +109,7 @@ Test mode\&. Display information about each process but do not kill it\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -125,8 +118,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -125,8 +118,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
is a diagnostic tool that Yves Carlier has provided for the MySQL distribution\&. It checks the access privileges for a host name, user name, and database combination\&. Note that
is a diagnostic tool written by Yves Carlier\&. It checks the access privileges for a host name, user name, and database combination\&. Note that
\fBmysqlaccess\fR
\fBmysqlaccess\fR
checks access using only the
checks access using only the
user,
user,
...
@@ -197,9 +190,8 @@ Display some examples that show how to use
...
@@ -197,9 +190,8 @@ Display some examples that show how to use
.\" old_server option: mysqlaccess
.\" old_server option: mysqlaccess
\fB\-\-old_server\fR
\fB\-\-old_server\fR
.sp
.sp
Assume that the server is an old MySQL server (before MySQL 3\&.21) that does not yet know how to handle full
Connect to a very old MySQL server (before MySQL 3\&.21) that does not know how to handle full
WHERE
WHERE clauses\&.
clauses\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -287,7 +279,7 @@ Display the release notes\&.
...
@@ -287,7 +279,7 @@ Display the release notes\&.
\fB\-\-rhost=\fR\fB\fIhost_name\fR\fR,
\fB\-\-rhost=\fR\fB\fIhost_name\fR\fR,
\fB\-H \fR\fB\fIhost_name\fR\fR
\fB\-H \fR\fB\fIhost_name\fR\fR
.sp
.sp
Connect to the MySQL server on the given host\&.
Connect to the MariaDB server on the given host\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -396,7 +388,7 @@ The user name to use in the access privileges\&.
...
@@ -396,7 +388,7 @@ The user name to use in the access privileges\&.
Display version information and exit\&.
Display version information and exit\&.
.RE
.RE
.PP
.PP
If your MySQL distribution is installed in some nonstandard location, you must change the location where
If your MariaDB distribution is installed in some non\-standard location, you must change the location where
\fBmysqlaccess\fR
\fBmysqlaccess\fR
expects to find the
expects to find the
\fBmysql\fR
\fBmysql\fR
...
@@ -423,7 +415,7 @@ error will occur when you run
...
@@ -423,7 +415,7 @@ error will occur when you run
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -432,8 +424,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -432,8 +424,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -623,8 +609,7 @@ Display a help message and exit\&.
...
@@ -623,8 +609,7 @@ Display a help message and exit\&.
.\" character-sets-dir option: mysqladmin
.\" character-sets-dir option: mysqladmin
\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR
\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR
.sp
.sp
The directory where character sets are installed\&. See
The directory where character sets are installed\&.
Section\ \&9.5, \(lqCharacter Set Configuration\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -708,7 +693,7 @@ string is
...
@@ -708,7 +693,7 @@ string is
.\" debug-check option: mysqladmin
.\" debug-check option: mysqladmin
\fB\-\-debug\-check\fR
\fB\-\-debug\-check\fR
.sp
.sp
Print some debugging information when the program exits\&. This option was added in MySQL 5\&.1\&.21\&.
Check memory and open file usage at exit.\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -723,7 +708,22 @@ Print some debugging information when the program exits\&. This option was added
...
@@ -723,7 +708,22 @@ Print some debugging information when the program exits\&. This option was added
.\" debug-info option: mysqladmin
.\" debug-info option: mysqladmin
\fB\-\-debug\-info\fR
\fB\-\-debug\-info\fR
.sp
.sp
Print debugging information and memory and CPU usage statistics when the program exits\&. This option was added in MySQL 5\&.1\&.14\&.
Print debugging information and memory and CPU usage statistics when the program exits\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: default-auth option
.\" default-auth option: mysqladmin
\fB\-\-default\-auth\fR
.sp
Default authentication client-side plugin to use\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -740,8 +740,7 @@ Print debugging information and memory and CPU usage statistics when the program
...
@@ -740,8 +740,7 @@ Print debugging information and memory and CPU usage statistics when the program
.sp
.sp
Use
Use
\fIcharset_name\fR
\fIcharset_name\fR
as the default character set\&. See
as the default character set\&.
Section\ \&9.5, \(lqCharacter Set Configuration\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -806,7 +805,7 @@ command\&. With multiple commands, continue even if an error occurs\&.
...
@@ -806,7 +805,7 @@ command\&. With multiple commands, continue even if an error occurs\&.
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-h \fR\fB\fIhost_name\fR\fR
\fB\-h \fR\fB\fIhost_name\fR\fR
.sp
.sp
Connect to the MySQL server on the given host\&.
Connect to the MariaDB server on the given host\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -822,7 +821,7 @@ Connect to the MySQL server on the given host\&.
...
@@ -822,7 +821,7 @@ Connect to the MySQL server on the given host\&.
\fB\-\-no\-beep\fR,
\fB\-\-no\-beep\fR,
\fB\-b\fR
\fB\-b\fR
.sp
.sp
Suppress the warning beep that is emitted by default for errors such as a failure to connect to the server\&. This option was added in MySQL 5\&.1\&.17\&.
Suppress the warning beep that is emitted by default for errors such as a failure to connect to the server\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -865,8 +864,7 @@ option on the command line,
...
@@ -865,8 +864,7 @@ option on the command line,
\fBmysqladmin\fR
\fBmysqladmin\fR
prompts for one\&.
prompts for one\&.
.sp
.sp
Specifying a password on the command line should be considered insecure\&. See
Specifying a password on the command line should be considered insecure\&.
Section\ \&5.3.2.2, \(lqEnd-User Guidelines for Password Security\(rq\&. You can use an option file to avoid giving the password on the command line\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -898,7 +896,8 @@ On Windows, connect to the server via a named pipe\&. This option applies only i
...
@@ -898,7 +896,8 @@ On Windows, connect to the server via a named pipe\&. This option applies only i
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
\fB\-P \fR\fB\fIport_num\fR\fR
\fB\-P \fR\fB\fIport_num\fR\fR
.sp
.sp
The TCP/IP port number to use for the connection\&.
The TCP/IP port number to use for the connection or 0 for default to,
in order of preference, my.cnf, $MYSQL_TCP_PORT, /etc/services, built-in default (3306)\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -928,8 +927,7 @@ Print the program argument list and exit\&. This must be given as the first argu
...
@@ -928,8 +927,7 @@ Print the program argument list and exit\&. This must be given as the first argu
.\" protocol option: mysqladmin
.\" protocol option: mysqladmin
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
.sp
.sp
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&. For details on the allowable values, see
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&.
Section\ \&4.2.2, \(lqConnecting to the MySQL Server\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1034,12 +1032,137 @@ localhost, the Unix socket file to use, or, on Windows, the name of the named pi
...
@@ -1034,12 +1032,137 @@ localhost, the Unix socket file to use, or, on Windows, the name of the named pi
.\}
.\}
.\" mysqladmin: SSL options
.\" mysqladmin: SSL options
.\" SSL options: mysqladmin
.\" SSL options: mysqladmin
\fB\-\-ssl*\fR
.sp
Options that begin with
\fB\-\-ssl\fR
\fB\-\-ssl\fR
specify whether to connect to the server via SSL and indicate where to find SSL keys and certificates\&. See
format is deprecated and is removed in MySQL 5\&.5\&. syntax:
.sp
.sp
.RS 4
.RS 4
.ie n \{\
.ie n \{\
...
@@ -1163,7 +1283,7 @@ The maximum number of seconds to wait for server shutdown\&. The default value i
...
@@ -1163,7 +1283,7 @@ The maximum number of seconds to wait for server shutdown\&. The default value i
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -1172,8 +1292,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -1172,8 +1292,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -32,9 +25,7 @@ that describe modifications to database contents\&. The server writes these file
...
@@ -32,9 +25,7 @@ that describe modifications to database contents\&. The server writes these file
\fBmysqlbinlog\fR
\fBmysqlbinlog\fR
utility\&. You can also use
utility\&. You can also use
\fBmysqlbinlog\fR
\fBmysqlbinlog\fR
to display the contents of relay log files written by a slave server in a replication setup because relay logs have the same format as binary logs\&. The binary log and relay log are discussed further in
to display the contents of relay log files written by a slave server in a replication setup because relay logs have the same format as binary logs\&.
Section\ \&5.2.4, \(lqThe Binary Log\(rq, and
Section\ \&16.2.2, \(lqReplication Relay and Status Files\(rq\&.
binlog\&.000003\&. For statement\-based logging, event information includes the SQL statement, the ID of the server on which it was executed, the timestamp when the statement was executed, how much time it took, and so forth\&. For row\-based logging, the event indicates a row change rather than an SQL statement\&. See
binlog\&.000003\&. For statement\-based logging, event information includes the SQL statement, the ID of the server on which it was executed, the timestamp when the statement was executed, how much time it took, and so forth\&. For row\-based logging, the event indicates a row change rather than an SQL statement\&.
Section\ \&16.1.2, \(lqReplication Formats\(rq, for information about logging modes\&.
.PP
.PP
Events are preceded by header comments that provide additional information\&. For example:
Events are preceded by header comments that provide additional information\&. For example:
.sp
.sp
...
@@ -102,12 +92,11 @@ indicates the result from executing the event\&. Zero means that no error occurr
...
@@ -102,12 +92,11 @@ indicates the result from executing the event\&. Zero means that no error occurr
The output from
The output from
\fBmysqlbinlog\fR
\fBmysqlbinlog\fR
can be re\-executed (for example, by using it as input to
can be re\-executed (for example, by using it as input to
\fBmysql\fR) to redo the statements in the log\&. This is useful for recovery operations after a server crash\&. For other usage examples, see the discussion later in this section and
\fBmysql\fR) to redo the statements in the log\&. This is useful for recovery operations after a server crash\&. For other usage examples, see the discussion later in this section\&.
Section\ \&6.5, \(lqPoint-in-Time (Incremental) Recovery Using the Binary Log\(rq\&.
.PP
.PP
Normally, you use
Normally, you use
\fBmysqlbinlog\fR
\fBmysqlbinlog\fR
to read binary log files directly and apply them to the local MySQL server\&. It is also possible to read binary logs from a remote server by using the
to read binary log files directly and apply them to the local MariaDB server\&. It is also possible to read binary logs from a remote server by using the
\fB\-\-read\-from\-remote\-server\fR
\fB\-\-read\-from\-remote\-server\fR
option\&. To read remote binary logs, the connection parameter options can be given to indicate how to connect to the server\&. These options are
option\&. To read remote binary logs, the connection parameter options can be given to indicate how to connect to the server\&. These options are
\fB\-\-host\fR,
\fB\-\-host\fR,
...
@@ -125,9 +114,6 @@ supports the following options, which can be specified on the command line or in
...
@@ -125,9 +114,6 @@ supports the following options, which can be specified on the command line or in
and
and
[client]
[client]
option file groups\&.
option file groups\&.
\fBmysqlbinlog\fR
also supports the options for processing option files described at
Section\ \&4.2.3.3.1, \(lqCommand-Line Options that Affect Option-File Handling\(rq\&.
.sp
.sp
.RS 4
.RS 4
.ie n \{\
.ie n \{\
...
@@ -211,7 +197,7 @@ displays
...
@@ -211,7 +197,7 @@ displays
BINLOG
BINLOG
statements whenever possible\&. This is the implied value if the option is given as
statements whenever possible\&. This is the implied value if the option is given as
\fB\-\-base64\-output\fR
\fB\-\-base64\-output\fR
without a value\&.
without a value\&. Both ALWAYS and not giving a value are deprecated.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -255,17 +241,14 @@ NEVER, it does not exit with an error if a row event is found\&.
...
@@ -255,17 +241,14 @@ NEVER, it does not exit with an error if a row event is found\&.
.RS 4
.RS 4
The
The
\fB\-\-base64\-output\fR
\fB\-\-base64\-output\fR
option was introduced in MySQL 5\&.1\&.5, to be given as
can be given as
\fB\-\-base64\-output\fR
\fB\-\-base64\-output\fR
or
or
\fB\-\-skip\-base64\-output\fR
\fB\-\-skip\-base64\-output\fR
(with the sense of
(with the sense of
AUTO
AUTO
or
or
NEVER)\&. The option values described in the preceding list may be used as of MySQL 5\&.1\&.24, with the exception of
NEVER)\&.
UNSPEC
and
DECODE\-ROWS, which are available as of MySQL 5\&.1\&.28\&.
.sp
.sp
For examples that show the effect of
For examples that show the effect of
\fB\-\-base64\-output\fR
\fB\-\-base64\-output\fR
...
@@ -274,6 +257,22 @@ and
...
@@ -274,6 +257,22 @@ and
on row event output, see
on row event output, see
the section called \(lqMYSQLBINLOG ROW EVENT DISPLAY\(rq\&.
the section called \(lqMYSQLBINLOG ROW EVENT DISPLAY\(rq\&.
The directory where character sets are installed\&.
.RE
.sp
.sp
.RS 4
.RS 4
.ie n \{\
.ie n \{\
...
@@ -287,8 +286,7 @@ the section called \(lqMYSQLBINLOG ROW EVENT DISPLAY\(rq\&.
...
@@ -287,8 +286,7 @@ the section called \(lqMYSQLBINLOG ROW EVENT DISPLAY\(rq\&.
.\" character-sets-dir option: mysqlbinlog
.\" character-sets-dir option: mysqlbinlog
\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR
\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR
.sp
.sp
The directory where character sets are installed\&. See
The directory where character sets are installed\&.
Section\ \&9.5, \(lqCharacter Set Configuration\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -308,7 +306,7 @@ This option causes
...
@@ -308,7 +306,7 @@ This option causes
\fBmysqlbinlog\fR
\fBmysqlbinlog\fR
to output entries from the binary log (local log only) that occur while
to output entries from the binary log (local log only) that occur while
\fIdb_name\fR
\fIdb_name\fR
is been selected as the default database by
has been selected as the default database by
USE\&.
USE\&.
.sp
.sp
The
The
...
@@ -452,10 +450,11 @@ USE\&. (In particular, no cross\-database updates should be used\&.)
...
@@ -452,10 +450,11 @@ USE\&. (In particular, no cross\-database updates should be used\&.)
.br
.br
This option did not work correctly for
This option did not work correctly for
\fBmysqlbinlog\fR
\fBmysqlbinlog\fR
with row\-based logging prior to MySQL 5\&.1\&.37\&. (\m[blue]\fBBug#42941\fR\m[]\&\s-2\u[1]\d\s+2)
with row\-based logging prior to MySQL 5\&.1\&.37\&.
.sp .5v
.sp .5v
.RE
.RE
.RE
.RE
.RE
.sp
.sp
.RS 4
.RS 4
.ie n \{\
.ie n \{\
...
@@ -489,7 +488,7 @@ string is
...
@@ -489,7 +488,7 @@ string is
.\" debug-check option: mysqlbinlog
.\" debug-check option: mysqlbinlog
\fB\-\-debug\-check\fR
\fB\-\-debug\-check\fR
.sp
.sp
Print some debugging information when the program exits\&. This option was added in MySQL 5\&.1\&.21\&.
Print some debugging information when the program exits\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -504,7 +503,52 @@ Print some debugging information when the program exits\&. This option was added
...
@@ -504,7 +503,52 @@ Print some debugging information when the program exits\&. This option was added
.\" debug-info option: mysqlbinlog
.\" debug-info option: mysqlbinlog
\fB\-\-debug\-info\fR
\fB\-\-debug\-info\fR
.sp
.sp
Print debugging information and memory and CPU usage statistics when the program exits\&. This option was added in MySQL 5\&.1\&.21\&.
Print debugging information and memory and CPU usage statistics when the program exits\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlbinlog: defaults-extra-file option
.\" defaults-extra-file option: mysqlbinlog
\fB\-\-defaults\-extra\-file=\fR\fB\fIname\fR
.sp
Read this file after the global files are read\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlbinlog: defaults-file option
.\" defaults-file option: mysqlbinlog
\fB\-\-defaults\-file=\fR\fB\fIname\fR
.sp
Only read default options from the given file\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlbinlog: default-auth option
.\" default-auth option: mysqlbinlog
\fB\-\-default\-auth=\fR\fB\fIname\fR
.sp
Default authentication client-side plugin to use\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -522,7 +566,7 @@ Print debugging information and memory and CPU usage statistics when the program
...
@@ -522,7 +566,7 @@ Print debugging information and memory and CPU usage statistics when the program
.sp
.sp
Disable binary logging\&. This is useful for avoiding an endless loop if you use the
Disable binary logging\&. This is useful for avoiding an endless loop if you use the
\fB\-\-to\-last\-log\fR
\fB\-\-to\-last\-log\fR
option and are sending the output to the same MySQL server\&. This option also is useful when restoring after a crash to avoid duplication of the statements you have logged\&.
option and are sending the output to the same MariaDB server\&. This option also is useful when restoring after a crash to avoid duplication of the statements you have logged\&.
.sp
.sp
This option requires that you have the
This option requires that you have the
SUPER
SUPER
...
@@ -545,6 +589,21 @@ privilege\&.
...
@@ -545,6 +589,21 @@ privilege\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlbinlog: force-if-open option
.\" force-if-open option: mysqlbinlog
\fB\-\-force\-if\-open\fR
.sp
Force if binlog was not closed properly. Defaults to on; use \fB--skip-force-if-open\fR to disable\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlbinlog: force-read option
.\" mysqlbinlog: force-read option
.\" force-read option: mysqlbinlog
.\" force-read option: mysqlbinlog
\fB\-\-force\-read\fR,
\fB\-\-force\-read\fR,
...
@@ -571,7 +630,7 @@ stops if it reads such an event\&.
...
@@ -571,7 +630,7 @@ stops if it reads such an event\&.
\fB\-H\fR
\fB\-H\fR
.sp
.sp
Display a hex dump of the log in comments, as described in
Display a hex dump of the log in comments, as described in
the section called \(lqMYSQLBINLOG HEX DUMP FORMAT\(rq\&. The hex output can be helpful for replication debugging\&. This option was added in MySQL 5\&.1\&.2\&.
the section called \(lqMYSQLBINLOG HEX DUMP FORMAT\(rq\&. The hex output can be helpful for replication debugging\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -587,7 +646,7 @@ the section called \(lqMYSQLBINLOG HEX DUMP FORMAT\(rq\&. The hex output can be
...
@@ -587,7 +646,7 @@ the section called \(lqMYSQLBINLOG HEX DUMP FORMAT\(rq\&. The hex output can be
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-h \fR\fB\fIhost_name\fR\fR
\fB\-h \fR\fB\fIhost_name\fR\fR
.sp
.sp
Get the binary log from the MySQL server on the given host\&.
Get the binary log from the MariaDB server on the given host\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -616,6 +675,21 @@ in the specified directory\&.
...
@@ -616,6 +675,21 @@ in the specified directory\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlbinlog: no-defaults option
.\" no-defaults option: mysqlbinlog
\fB\-\-no\-defaults\fR
.sp
Don't read default options from any option file\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlbinlog: offset option
.\" mysqlbinlog: offset option
.\" offset option: mysqlbinlog
.\" offset option: mysqlbinlog
\fB\-\-offset=\fR\fB\fIN\fR\fR,
\fB\-\-offset=\fR\fB\fIN\fR\fR,
...
@@ -651,8 +725,8 @@ option on the command line,
...
@@ -651,8 +725,8 @@ option on the command line,
\fBmysqlbinlog\fR
\fBmysqlbinlog\fR
prompts for one\&.
prompts for one\&.
.sp
.sp
Specifying a password on the command line should be considered insecure\&. See
Specifying a password on the command line should be considered insecure\&. You
Section\ \&5.3.2.2, \(lqEnd-User Guidelines for Password Security\(rq\&. You can use an option file to avoid giving the password on the command line\&.
can use an option file to avoid giving the password on the command line\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -663,12 +737,11 @@ Section\ \&5.3.2.2, \(lqEnd-User Guidelines for Password Security\(rq\&. You can
...
@@ -663,12 +737,11 @@ Section\ \&5.3.2.2, \(lqEnd-User Guidelines for Password Security\(rq\&. You can
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlbinlog: port option
.\" mysqlbinlog: plugin-dir option
.\" port option: mysqlbinlog
.\" plugin-dir option: mysqlbinlog
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
\fB\-\-plugin\-dir=\fIdir_name\fR
\fB\-P \fR\fB\fIport_num\fR\fR
.sp
.sp
The TCP/IP port number to use for connecting to a remote server\&.
Directory for client-side plugins\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -679,15 +752,29 @@ The TCP/IP port number to use for connecting to a remote server\&.
...
@@ -679,15 +752,29 @@ The TCP/IP port number to use for connecting to a remote server\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlbinlog: position option
.\" mysqlbinlog: print-defaults option
.\" position option: mysqlbinlog
.\" print-defaults option: mysqlbinlog
\fB\-\-position=\fR\fB\fIN\fR\fR
\fB\-\-print\-defaults\fR
.sp
.sp
Deprecated\&. Use
Print the program argument list from all option files and exit\&.
\fB\-\-start\-position\fR
.RE
instead\&.
.sp
\fB\-\-position\fR
.RS 4
is removed in MySQL 5\&.5\&.
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlbinlog: port option
.\" port option: mysqlbinlog
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
\fB\-P \fR\fB\fIport_num\fR\fR
.sp
The TCP/IP port number to use for connecting to a remote server,
or \fB0\fR for default to, in order of preference, \fBmy.cnf\fR,
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&. For details on the allowable values, see
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&.
Section\ \&4.2.2, \(lqConnecting to the MySQL Server\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -735,7 +821,7 @@ Sets the open_files_limit variable, which is used to reserve file descriptors fo
...
@@ -735,7 +821,7 @@ Sets the open_files_limit variable, which is used to reserve file descriptors fo
\fB\-\-read\-from\-remote\-server\fR,
\fB\-\-read\-from\-remote\-server\fR,
\fB\-R\fR
\fB\-R\fR
.sp
.sp
Read the binary log from a MySQL server rather than reading a local log file\&. Any connection parameter options are ignored unless this option is given as well\&. These options are
Read the binary log from a MariaDB server rather than reading a local log file\&. Any connection parameter options are ignored unless this option is given as well\&. These options are
\fB\-\-host\fR,
\fB\-\-host\fR,
\fB\-\-password\fR,
\fB\-\-password\fR,
\fB\-\-port\fR,
\fB\-\-port\fR,
...
@@ -770,11 +856,37 @@ Direct output to the given file\&.
...
@@ -770,11 +856,37 @@ Direct output to the given file\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlbinlog: rewrite-db option
.\" rewrite-db option: mysqlbinlog
\fB\-\-rewrite\-db=\fR\fB\fIname\fR\fR,
\fB\-r \fR\fB\fIname\fR\fR
.sp
Updates to a database with a different name than the original.
Example: \fBrewrite-db='from->to'\fR\&. For events that are
binlogged as statements, rewriting the database constitutes changing a
statement's default database from \fIdb1\fB to \fIdb2\fR\&. There is no statement
analysis or rewrite of any kind, that is, if one specifies \fB"db1.tbl"\fR
in the statement explicitly, that occurrence won't be changed to
\fB"db2.tbl"\fR\&. Row-based events are rewritten correctly to use the new
database name\&. Filtering (e.g. with \fB--database=name\fR) happens after
the database rewrites have been performed\&. If you use this option on the
command line and \fB">"\fR has a special meaning to your command interpreter,
quote the value (e.g. \fB--rewrite-db="oldname->newname"\fR\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlbinlog: server-id option
.\" mysqlbinlog: server-id option
.\" server-id option: mysqlbinlog
.\" server-id option: mysqlbinlog
\fB\-\-server\-id=\fR\fB\fIid\fR\fR
\fB\-\-server\-id=\fR\fB\fIid\fR\fR
.sp
.sp
Display only those events created by the server having the given server ID\&. This option is available as of MySQL 5\&.1\&.4\&.
Display only those events created by the server having the given server ID\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -791,7 +903,7 @@ Display only those events created by the server having the given server ID\&. Th
...
@@ -791,7 +903,7 @@ Display only those events created by the server having the given server ID\&. Th
.sp
.sp
Add a
Add a
SET NAMES \fIcharset_name\fR
SET NAMES \fIcharset_name\fR
statement to the output to specify the character set to be used for processing log files\&. This option was added in MySQL 5\&.1\&.12\&.
statement to the output to specify the character set to be used for processing log files\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -807,7 +919,10 @@ statement to the output to specify the character set to be used for processing l
...
@@ -807,7 +919,10 @@ statement to the output to specify the character set to be used for processing l
\fB\-\-short\-form\fR,
\fB\-\-short\-form\fR,
\fB\-s\fR
\fB\-s\fR
.sp
.sp
Display only the statements contained in the log, without any extra information\&.
Display only the statements contained in the log, no extra info
and no row-based events\&. This is for testing only, and should
not be used in production systems. If you want to suppress
base64-output, consider using \fB--base64-output=never\fR instead\&.
Do not stop at the end of the requested binary log from a MySQL server, but rather continue printing until the end of the last binary log\&. If you send the output to the same MySQL server, this may lead to an endless loop\&. This option requires
Do not stop at the end of the requested binary log from a MariaDB server, but rather continue printing until the end of the last binary log\&. If you send the output to the same MariaDB server, this may lead to an endless loop, so this option requires
\fB\-\-read\-from\-remote\-server\fR\&.
\fB\-\-read\-from\-remote\-server\fR\&.
.RE
.RE
.sp
.sp
...
@@ -957,7 +1068,7 @@ Do not stop at the end of the requested binary log from a MySQL server, but rath
...
@@ -957,7 +1068,7 @@ Do not stop at the end of the requested binary log from a MySQL server, but rath
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-u \fR\fB\fIuser_name\fR\fR
\fB\-u \fR\fB\fIuser_name\fR\fR
.sp
.sp
The MySQL user name to use when connecting to a remote server\&.
The MariaDB username to use when connecting to a remote server\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -973,7 +1084,7 @@ The MySQL user name to use when connecting to a remote server\&.
...
@@ -973,7 +1084,7 @@ The MySQL user name to use when connecting to a remote server\&.
\fB\-\-verbose\fR,
\fB\-\-verbose\fR,
\fB\-v\fR
\fB\-v\fR
.sp
.sp
Reconstruct row events and display them as commented SQL statements\&. If this option is given twice, the output includes comments to indicate column data types and some metadata\&. This option was added in MySQL 5\&.1\&.28\&.
Reconstruct row events and display them as commented SQL statements\&. If this option is given twice, the output includes comments to indicate column data types and some metadata\&.
.sp
.sp
For examples that show the effect of
For examples that show the effect of
\fB\-\-base64\-output\fR
\fB\-\-base64\-output\fR
...
@@ -1021,8 +1132,8 @@ You can pipe the output of
...
@@ -1021,8 +1132,8 @@ You can pipe the output of
\fBmysqlbinlog\fR
\fBmysqlbinlog\fR
into the
into the
\fBmysql\fR
\fBmysql\fR
client to execute the events contained in the binary log\&. This technique is used to recover from a crash when you have an old backup (see
client to execute the events contained in the binary log\&. This technique is used to recover from a crash when you have an old
Section\ \&6.5, \(lqPoint-in-Time (Incremental) Recovery Using the Binary Log\(rq)\&. For example:
backup\&. For example:
.sp
.sp
.if n \{\
.if n \{\
.RS 4
.RS 4
...
@@ -1073,7 +1184,7 @@ option, it displays only those events with an offset in the binary log greater t
...
@@ -1073,7 +1184,7 @@ option, it displays only those events with an offset in the binary log greater t
option (to be able to say, for example,
option (to be able to say, for example,
\(lqroll forward my databases to how they were today at 10:30 a\&.m\&.\(rq)\&.
\(lqroll forward my databases to how they were today at 10:30 a\&.m\&.\(rq)\&.
.PP
.PP
If you have more than one binary log to execute on the MySQL server, the safe method is to process them all using a single connection to the server\&. Here is an example that demonstrates what may be
If you have more than one binary log to execute on the MariaDB server, the safe method is to process them all using a single connection to the server\&. Here is an example that demonstrates what may be
\fIunsafe\fR:
\fIunsafe\fR:
.sp
.sp
.if n \{\
.if n \{\
...
@@ -1145,8 +1256,7 @@ LOAD DATA LOCAL INFILE
...
@@ -1145,8 +1256,7 @@ LOAD DATA LOCAL INFILE
statements (that is, it adds
statements (that is, it adds
LOCAL), both the client and the server that you use to process the statements must be configured with the
LOCAL), both the client and the server that you use to process the statements must be configured with the
LOCAL
LOCAL
capability enabled\&. See
capability enabled\&.
Section\ \&5.3.5, \(lqSecurity Issues with LOAD DATA LOCAL\(rq\&.
.if n \{\
.if n \{\
.sp
.sp
.\}
.\}
...
@@ -1591,7 +1701,7 @@ type codes\&. The
...
@@ -1591,7 +1701,7 @@ type codes\&. The
\fB\-\-base64\-output=DECODE\-ROWS\fR
\fB\-\-base64\-output=DECODE\-ROWS\fR
and
and
\fB\-\-verbose\fR
\fB\-\-verbose\fR
options may be used to affect row event output\&. These options are available as of MySQL 5\&.1\&.28\&.
options may be used to affect row event output\&.
.PP
.PP
Suppose that the server is using row\-based binary logging and that you execute the following sequence of statements:
Suppose that the server is using row\-based binary logging and that you execute the following sequence of statements:
.sp
.sp
...
@@ -1952,7 +2062,7 @@ option can be used to prevent this header from being written\&.
...
@@ -1952,7 +2062,7 @@ option can be used to prevent this header from being written\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -1967,8 +2077,6 @@ Bug#42941
...
@@ -1967,8 +2077,6 @@ Bug#42941
\%http://bugs.mysql.com/bug.php?id=42941
\%http://bugs.mysql.com/bug.php?id=42941
.RE
.RE
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
This program enables you to generate a bug report and send it to Oracle Corporation\&. It is a shell script and runs on Unix\&.
To report MariaDB bugs, see https://mariadb.com/kb/en/mariadb/reporting-bugs/ - the mysqlbug program has now been deprecated by Oracle, and was never useful for MariaDB.
Originally, the program enabled you to generate a bug report and send it to Oracle Corporation\&. It is a shell script and runs on Unix\&.
.PP
.PP
The normal way to report bugs is to visit
The normal way to report MySQL bugs is to visit
\m[blue]\fB\%http://bugs.mysql.com/\fR\m[], which is the address for our bugs database\&. This database is public and can be browsed and searched by anyone\&. If you log in to the system, you can enter new reports\&. If you have no Web access, you can generate a bug report by using the
\m[blue]\fB\%http://bugs.mysql.com/\fR\m[], which is the address for MySQL's bugs database\&. This database is public and can be browsed and searched by anyone\&. If you log in to the system, you can enter new reports\&. If you have no Web access, you can generate a bug report by using the
\fBmysqlbug\fR
\fBmysqlbug\fR
script\&.
script\&.
.PP
.PP
...
@@ -62,7 +57,7 @@ will send the report by email\&.
...
@@ -62,7 +57,7 @@ will send the report by email\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -71,8 +66,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -71,8 +66,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -36,12 +29,7 @@ client performs table maintenance: It checks, repairs, optimizes, or analyzes ta
...
@@ -36,12 +29,7 @@ client performs table maintenance: It checks, repairs, optimizes, or analyzes ta
.PP
.PP
Each table is locked and therefore unavailable to other sessions while it is being processed, although for check operations, the table is locked with a
Each table is locked and therefore unavailable to other sessions while it is being processed, although for check operations, the table is locked with a
READ
READ
lock only (see
lock only\&. Table maintenance operations can be time\-consuming, particularly for large tables\&. If you use the
Section\ \&12.3.5, \(lqLOCK TABLES and UNLOCK TABLES Syntax\(rq, for more information about
READ
and
WRITE
locks)\&. Table maintenance operations can be time\-consuming, particularly for large tables\&. If you use the
\fB\-\-databases\fR
\fB\-\-databases\fR
or
or
\fB\-\-all\-databases\fR
\fB\-\-all\-databases\fR
...
@@ -71,8 +59,7 @@ CHECK TABLE,
...
@@ -71,8 +59,7 @@ CHECK TABLE,
REPAIR TABLE,
REPAIR TABLE,
ANALYZE TABLE, and
ANALYZE TABLE, and
OPTIMIZE TABLE
OPTIMIZE TABLE
in a convenient way for the user\&. It determines which statements to use for the operation you want to perform, and then sends the statements to the server to be executed\&. For details about which storage engines each statement works with, see the descriptions for those statements in
in a convenient way for the user\&. It determines which statements to use for the operation you want to perform, and then sends the statements to the server to be executed\&.
@@ -100,8 +87,7 @@ note : The storage engine for the table doesn\'t support check
...
@@ -100,8 +87,7 @@ note : The storage engine for the table doesn\'t support check
.PP
.PP
If
If
\fBmysqlcheck\fR
\fBmysqlcheck\fR
is unable to repair a table, see
is unable to repair a table, see the MariaDB Knowledge Base
Section\ \&2.4.4, \(lqRebuilding or Repairing Tables or Indexes\(rq
for manual table repair strategies\&. This will be the case, for example, for
for manual table repair strategies\&. This will be the case, for example, for
InnoDB
InnoDB
tables, which can be checked with
tables, which can be checked with
...
@@ -110,7 +96,7 @@ REPAIR TABLE\&.
...
@@ -110,7 +96,7 @@ REPAIR TABLE\&.
.PP
.PP
The use of
The use of
\fBmysqlcheck\fR
\fBmysqlcheck\fR
with partitioned tables is not supported before MySQL 5\&.1\&.27\&.
with partitioned tables is not supported\&.
.if n \{\
.if n \{\
.sp
.sp
.\}
.\}
...
@@ -193,9 +179,6 @@ supports the following options, which can be specified on the command line or in
...
@@ -193,9 +179,6 @@ supports the following options, which can be specified on the command line or in
and
and
[client]
[client]
option file groups\&.
option file groups\&.
\fBmysqlcheck\fR
also supports the options for processing option files described at
Section\ \&4.2.3.3.1, \(lqCommand-Line Options that Affect Option-File Handling\(rq\&.
.sp
.sp
.RS 4
.RS 4
.ie n \{\
.ie n \{\
...
@@ -290,8 +273,7 @@ If a checked table is corrupted, automatically fix it\&. Any necessary repairs a
...
@@ -290,8 +273,7 @@ If a checked table is corrupted, automatically fix it\&. Any necessary repairs a
.\" character-sets-dir option: mysqlcheck
.\" character-sets-dir option: mysqlcheck
\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR
\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR
.sp
.sp
The directory where character sets are installed\&. See
The directory where character sets are installed\&.
Section\ \&9.5, \(lqCharacter Set Configuration\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -348,8 +330,6 @@ option to check tables for incompatibilities with the current version of the ser
...
@@ -348,8 +330,6 @@ option to check tables for incompatibilities with the current version of the ser
and
and
\fB\-\-fix\-table\-names\fR
\fB\-\-fix\-table\-names\fR
options\&.
options\&.
\fB\-\-check\-upgrade\fR
was added in MySQL 5\&.1\&.7\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -417,7 +397,7 @@ string is
...
@@ -417,7 +397,7 @@ string is
.\" debug-check option: mysqlcheck
.\" debug-check option: mysqlcheck
\fB\-\-debug\-check\fR
\fB\-\-debug\-check\fR
.sp
.sp
Print some debugging information when the program exits\&. This option was added in MySQL 5\&.1\&.21\&.
Print some debugging information when the program exits\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -432,7 +412,22 @@ Print some debugging information when the program exits\&. This option was added
...
@@ -432,7 +412,22 @@ Print some debugging information when the program exits\&. This option was added
.\" debug-info option: mysqlcheck
.\" debug-info option: mysqlcheck
\fB\-\-debug\-info\fR
\fB\-\-debug\-info\fR
.sp
.sp
Print debugging information and memory and CPU usage statistics when the program exits\&. This option was added in MySQL 5\&.1\&.14\&.
Print debugging information and memory and CPU usage statistics when the program exits\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlcheck: default-auth option
.\" default-auth option: mysqlcheck
\fB\-\-default\-auth=\fR\fB\fIname\fR\fR
.sp
Default authentication client-side plugin to use\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -449,8 +444,7 @@ Print debugging information and memory and CPU usage statistics when the program
...
@@ -449,8 +444,7 @@ Print debugging information and memory and CPU usage statistics when the program
.sp
.sp
Use
Use
\fIcharset_name\fR
\fIcharset_name\fR
as the default character set\&. See
as the default character set\&.
Section\ \&9.5, \(lqCharacter Set Configuration\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -500,7 +494,8 @@ Must be given as first option\&.
...
@@ -500,7 +494,8 @@ Must be given as first option\&.
.sp
.sp
If you are using this option to check tables, it ensures that they are 100% consistent but takes a long time\&.
If you are using this option to check tables, it ensures that they are 100% consistent but takes a long time\&.
.sp
.sp
If you are using this option to repair tables, it runs an extended repair that may not only take a long time to execute, but may produce a lot of garbage rows also!
If you are using this option to repair tables, it will force using the old, slow, repair with keycache method,
instead of the much faster repair by sorting.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -531,7 +526,7 @@ Check only tables that have not been closed properly\&.
...
@@ -531,7 +526,7 @@ Check only tables that have not been closed properly\&.
.\" fix-db-names option: mysqlcheck
.\" fix-db-names option: mysqlcheck
\fB\-\-fix\-db\-names\fR
\fB\-\-fix\-db\-names\fR
.sp
.sp
Convert database names to 5\&.1 format\&. Only database names that contain special characters are affected\&. This option was added in MySQL 5\&.1\&.7\&.
Convert database names to the format used since MySQL 5\&.1\&. Only database names that contain special characters are affected\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -546,7 +541,23 @@ Convert database names to 5\&.1 format\&. Only database names that contain speci
...
@@ -546,7 +541,23 @@ Convert database names to 5\&.1 format\&. Only database names that contain speci
.\" fix-table-names option: mysqlcheck
.\" fix-table-names option: mysqlcheck
\fB\-\-fix\-table\-names\fR
\fB\-\-fix\-table\-names\fR
.sp
.sp
Convert table names to 5\&.1 format\&. Only table names that contain special characters are affected\&. This option was added in MySQL 5\&.1\&.7\&. As of MySQL 5\&.1\&.23, this option also applies to views\&.
Convert table names (including views) to the format used since MySQL 5\&.1\&. Only table names that contain special characters are affected\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlcheck: flush option
.\" flush option: mysqlcheck
\fB\-\-flush\fR,
.sp
Flush each table after check. This is useful if you don't
want to have the checked tables take up space in the caches after the check\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -578,7 +589,7 @@ Continue even if an SQL error occurs\&.
...
@@ -578,7 +589,7 @@ Continue even if an SQL error occurs\&.
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-h \fR\fB\fIhost_name\fR\fR
\fB\-h \fR\fB\fIhost_name\fR\fR
.sp
.sp
Connect to the MySQL server on the given host\&.
Connect to the MariaDB server on the given host\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -655,8 +666,7 @@ option on the command line,
...
@@ -655,8 +666,7 @@ option on the command line,
\fBmysqlcheck\fR
\fBmysqlcheck\fR
prompts for one\&.
prompts for one\&.
.sp
.sp
Specifying a password on the command line should be considered insecure\&. See
Specifying a password on the command line should be considered insecure\&. You can use an option file to avoid giving the password on the command line\&.
Section\ \&5.3.2.2, \(lqEnd-User Guidelines for Password Security\(rq\&. You can use an option file to avoid giving the password on the command line\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -683,12 +693,11 @@ On Windows, connect to the server via a named pipe\&. This option applies only i
...
@@ -683,12 +693,11 @@ On Windows, connect to the server via a named pipe\&. This option applies only i
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlcheck: port option
.\" mysqlcheck: plugin-dir option
.\" port option: mysqlcheck
.\" plugin-dir option: mysqlcheck
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
\fB\-\-plugin\-dir=\fR\fB\fIname\fR\fR
\fB\-P \fR\fB\fIport_num\fR\fR
.sp
.sp
The TCP/IP port number to use for the connection\&.
Directory for client-side plugins\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -699,12 +708,12 @@ The TCP/IP port number to use for the connection\&.
...
@@ -699,12 +708,12 @@ The TCP/IP port number to use for the connection\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlcheck: protocol option
.\" mysqlcheck: port option
.\" protocol option: mysqlcheck
.\" port option: mysqlcheck
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
\fB\-P \fR\fB\fIport_num\fR\fR
.sp
.sp
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&. For details on the allowable values, see
The TCP/IP port number to use for the connection\&.
Section\ \&4.2.2, \(lqConnecting to the MySQL Server\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -731,6 +740,51 @@ This must be given as the first argument\&.
...
@@ -731,6 +740,51 @@ This must be given as the first argument\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlcheck: process-tables option
.\" process-tables option: mysqlcheck
\fB\-\-process\-tables\fR
.sp
Perform the requested operation on tables. Defaults to on; use \fB--skip-process-tables\fR to disable\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlcheck: process-views option
.\" process-views option: mysqlcheck
\fB\-\-process\-views=\fB\fIval\fR
.sp
Perform the requested operation (only CHECK VIEW or REPAIR VIEW). Possible values are NO, YES (correct the checksum, if necessary, add the mariadb-version field), UPGRADE_FROM_MYSQL (same as YES and toggle the algorithm MERGE<->TEMPTABLE\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlcheck: protocol option
.\" protocol option: mysqlcheck
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
.sp
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlcheck: quick option
.\" mysqlcheck: quick option
.\" quick option: mysqlcheck
.\" quick option: mysqlcheck
\fB\-\-quick\fR,
\fB\-\-quick\fR,
...
@@ -781,6 +835,22 @@ Silent mode\&. Print only error messages\&.
...
@@ -781,6 +835,22 @@ Silent mode\&. Print only error messages\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlcheck: skip-database option
.\" skip-database option: mysqlcheck
\fB\-\-skip\-database=\fB\fIdb_name\fR
\fB\-s\fR
.sp
Don't process the database (case-sensitive) specified as argument\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlcheck: socket option
.\" mysqlcheck: socket option
.\" socket option: mysqlcheck
.\" socket option: mysqlcheck
\fB\-\-socket=\fR\fB\fIpath\fR\fR,
\fB\-\-socket=\fR\fB\fIpath\fR\fR,
...
@@ -798,14 +868,139 @@ localhost, the Unix socket file to use, or, on Windows, the name of the named pi
...
@@ -798,14 +868,139 @@ localhost, the Unix socket file to use, or, on Windows, the name of the named pi
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlcheck: SSL options
.\" mysqladmin: SSL options
.\" SSL options: mysqlcheck
.\" SSL options: mysqladmin
\fB\-\-ssl*\fR
.sp
Options that begin with
\fB\-\-ssl\fR
\fB\-\-ssl\fR
specify whether to connect to the server via SSL and indicate where to find SSL keys and certificates\&. See
Enable SSL for connection (automatically enabled with other flags). Disable with
\fB\-\-skip-ssl\fR\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL CA option
.\" SSL CA option: mysqladmin
\fB\-\-ssl\-ca=\fIname\fR
.sp
CA file in PEM format (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL CA Path option
.\" SSL CA Path option: mysqladmin
\fB\-\-ssl\-capath=\fIname\fR
.sp
CA directory (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL Cert option
.\" SSL Cert option: mysqladmin
\fB\-\-ssl\-cert=\fIname\fR
.sp
X509 cert in PEM format (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL Cipher option
.\" SSL Cipher option: mysqladmin
\fB\-\-ssl\-cipher=\fIname\fR
.sp
SSL cipher to use (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL Key option
.\" SSL Key option: mysqladmin
\fB\-\-ssl\-key=\fIname\fR
.sp
X509 key in PEM format (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL Crl option
.\" SSL CRL option: mysqladmin
\fB\-\-ssl\-crl=\fIname\fR
.sp
Certificate revocation list (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL Crlpath option
.\" SSL Crlpath option: mysqladmin
\fB\-\-ssl\-crlpath=\fIname\fR
.sp
Certificate revocation list path (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL Verify Server Cert option
.\" SSL Verify Server Cert option: mysqladmin
\fB\-\-ssl\-verify\-server\-cert\fR
.sp
Verify server's "Common Name" in its cert against hostname used when connecting. This option is disabled by default\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -861,7 +1056,7 @@ header is corrupted\&.
...
@@ -861,7 +1056,7 @@ header is corrupted\&.
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-u \fR\fB\fIuser_name\fR\fR
\fB\-u \fR\fB\fIuser_name\fR\fR
.sp
.sp
The MySQL user name to use when connecting to the server\&.
The MariaDB user name to use when connecting to the server\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -878,6 +1073,13 @@ The MySQL user name to use when connecting to the server\&.
...
@@ -878,6 +1073,13 @@ The MySQL user name to use when connecting to the server\&.
\fB\-v\fR
\fB\-v\fR
.sp
.sp
Verbose mode\&. Print information about the various stages of program operation\&.
Verbose mode\&. Print information about the various stages of program operation\&.
Using one \fB--verbose\fR option will give you more information about what mysqlcheck is
doing\&.
.sp
Using two \fB--verbose\fR options will also give you connection information\&.
.sp
Using it 3 times will print out all CHECK, RENAME and ALTER TABLE during
the check phase\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -920,12 +1122,12 @@ to cause
...
@@ -920,12 +1122,12 @@ to cause
NO_WRITE_TO_BINLOG
NO_WRITE_TO_BINLOG
to be added to the statements so that they are not logged\&. Use the
to be added to the statements so that they are not logged\&. Use the
\fB\-\-skip\-write\-binlog\fR
\fB\-\-skip\-write\-binlog\fR
when these statements should not be sent to replication slaves or run when using the binary logs for recovery from backup\&. This option was added in MySQL 5\&.1\&.18\&.
when these statements should not be sent to replication slaves or run when using the binary logs for recovery from backup\&.
.RE
.RE
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -934,8 +1136,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -934,8 +1136,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -53,7 +46,7 @@ Chapter\ \&2, Installing and Upgrading MySQL\&.
...
@@ -53,7 +46,7 @@ Chapter\ \&2, Installing and Upgrading MySQL\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -62,8 +55,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -62,8 +55,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -737,8 +730,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -737,8 +730,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -31,34 +24,10 @@ mysqld_safe \- MySQL server startup script
...
@@ -31,34 +24,10 @@ mysqld_safe \- MySQL server startup script
\fBmysqld_safe\fR
\fBmysqld_safe\fR
is the recommended way to start a
is the recommended way to start a
\fBmysqld\fR
\fBmysqld\fR
server on Unix and NetWare\&.
server on Unix\&.
\fBmysqld_safe\fR
\fBmysqld_safe\fR
adds some safety features such as restarting the server when an error occurs and logging runtime information to an error log file\&. Descriptions of error logging and NetWare\-specific behaviors are given later in this section\&.
adds some safety features such as restarting the server when an error occurs and logging runtime information to an error log file\&. Descriptions of error logging is given later in this section\&.
.if n \{\
.sp
.sp
.\}
.RS 4
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBNote\fR
.ps -1
.br
.PP
In MySQL 5\&.1\&.20 (only), the default error logging behavior with
\fBmysqld_safe\fR
is to write errors to
syslog
on systems that support the
\fBlogger\fR
program\&. This differs from the default behavior of writing an error log file for other versions\&.
.PP
\fBIn 5\&.1\&.20, logging to \fR\fBsyslog\fR\fB may fail to operate correctly in some cases; if so, use \fR\fB\fB\-\-skip\-syslog\fR\fR\fB to use the default log file or \fR\fB\fB\-\-log\-error=\fR\fB\fIfile_name\fR\fR\fR\fB to specify a log file name explicitly\&.\fR
.sp .5v
.RE
.PP
\fBmysqld_safe\fR
\fBmysqld_safe\fR
tries to start an executable named
tries to start an executable named
\fBmysqld\fR\&. To override the default behavior and specify explicitly the name of the server you want to run, specify a
\fBmysqld\fR\&. To override the default behavior and specify explicitly the name of the server you want to run, specify a
directory) that you want to start\&. This option is needed if you use the MySQL binary distribution but have the data directory outside of the binary distribution\&. If
directory) that you want to start\&. This option is needed if you use the MariaDB binary distribution but have the data directory outside of the binary distribution\&. If
\fBmysqld_safe\fR
\fBmysqld_safe\fR
cannot find the server, use the
cannot find the server, use the
\fB\-\-ledir\fR
\fB\-\-ledir\fR
...
@@ -444,7 +410,7 @@ on systems that support the
...
@@ -444,7 +410,7 @@ on systems that support the
program\&.
program\&.
\-\-skip\-syslog
\-\-skip\-syslog
suppresses the use of
suppresses the use of
syslog; messages are written to an error log file\&. These options were added in MySQL 5\&.1\&.20\&.
syslog; messages are written to an error log file\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -808,7 +774,7 @@ file in the data directory\&.
...
@@ -808,7 +774,7 @@ file in the data directory\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -817,8 +783,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -817,8 +783,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -32,7 +25,7 @@ mysqldump \- a database backup program
...
@@ -32,7 +25,7 @@ mysqldump \- a database backup program
.PP
.PP
The
The
\fBmysqldump\fR
\fBmysqldump\fR
client is a backup program originally written by Igor Romanenko\&. It can be used to dump a database or a collection of databases for backup or transfer to another SQL server (not necessarily a MySQL server)\&. The dump typically contains SQL statements to create the table, populate it, or both\&. However,
client is a backup program originally written by Igor Romanenko\&. It can be used to dump a database or a collection of databases for backup or transfer to another SQL server (not necessarily a MariaDB server)\&. The dump typically contains SQL statements to create the table, populate it, or both\&. However,
\fBmysqldump\fR
\fBmysqldump\fR
can also be used to generate files in CSV, other delimited text, or XML format\&.
can also be used to generate files in CSV, other delimited text, or XML format\&.
.PP
.PP
...
@@ -68,18 +61,11 @@ option, entire databases are dumped\&.
...
@@ -68,18 +61,11 @@ option, entire databases are dumped\&.
.PP
.PP
\fBmysqldump\fR
\fBmysqldump\fR
does not dump the
does not dump the
INFORMATION_SCHEMA
INFORMATION_SCHEMA or performance_schema
database by default\&. As of MySQL 5\&.1\&.38,
databases by default\&. To dump these,
\fBmysqldump\fR
name them explicitly on the command line, although you must also use the
dumps
INFORMATION_SCHEMA
if you name it explicitly on the command line, although currently you must also use the
\fB\-\-skip\-lock\-tables\fR
\fB\-\-skip\-lock\-tables\fR
option\&. Before 5\&.1\&.38,
option\&.
\fBmysqldump\fR
silently ignores
INFORMATION_SCHEMA
even if you name it explicitly on the command line\&.
.PP
.PP
To see a list of the options your version of
To see a list of the options your version of
\fBmysqldump\fR
\fBmysqldump\fR
...
@@ -207,22 +193,6 @@ or
...
@@ -207,22 +193,6 @@ or
option\&. Use
option\&. Use
\fB\-\-skip\-opt\fR
\fB\-\-skip\-opt\fR
instead\&.
instead\&.
.if n \{\
.sp
.\}
.RS 4
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBNote\fR
.ps -1
.br
.PP
\fBmysqldump\fR
from MySQL 5\&.1\&.21 cannot be used to create dumps from MySQL server 5\&.1\&.20 and older\&. This issue is fixed in MySQL 5\&.1\&.22\&. (\m[blue]\fBBug#30123\fR\m[]\&\s-2\u[1]\d\s+2)
.sp .5v
.RE
.RE
.PP
.PP
\fBmysqldump\fR
\fBmysqldump\fR
...
@@ -232,8 +202,7 @@ and
...
@@ -232,8 +202,7 @@ and
[client]
[client]
option file groups\&.
option file groups\&.
\fBmysqldump\fR
\fBmysqldump\fR
also supports the options for processing option files described at
also supports the options for processing option file\&.
Section\ \&4.2.3.3.1, \(lqCommand-Line Options that Affect Option-File Handling\(rq\&.
.sp
.sp
.RS 4
.RS 4
.ie n \{\
.ie n \{\
...
@@ -311,8 +280,7 @@ Surround each table dump with
...
@@ -311,8 +280,7 @@ Surround each table dump with
LOCK TABLES
LOCK TABLES
and
and
UNLOCK TABLES
UNLOCK TABLES
statements\&. This results in faster inserts when the dump file is reloaded\&. See
statements\&. This results in faster inserts when the dump file is reloaded\&.
Section\ \&7.2.21, \(lqSpeed of INSERT Statements\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -351,7 +319,6 @@ NDBCLUSTER
...
@@ -351,7 +319,6 @@ NDBCLUSTER
table\&. This information is not otherwise included in the output from
table\&. This information is not otherwise included in the output from
\fBmysqldump\fR\&. This option is currently relevant only to MySQL Cluster tables\&.
\fBmysqldump\fR\&. This option is currently relevant only to MySQL Cluster tables\&.
.sp
.sp
This option was added in MySQL 5\&.1\&.6\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -377,12 +344,26 @@ Allow creation of column names that are keywords\&. This works by prefixing each
...
@@ -377,12 +344,26 @@ Allow creation of column names that are keywords\&. This works by prefixing each
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqldump: apply-slave-statements option
.\" apply-slave-statements option: mysqldump
\fB\-\-apply\-slave\-statements\fR
.sp
Adds 'STOP SLAVE' prior to 'CHANGE MASTER' and 'START SLAVE' to bottom of dump\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqldump: character-sets-dir option
.\" mysqldump: character-sets-dir option
.\" character-sets-dir option: mysqldump
.\" character-sets-dir option: mysqldump
\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR
\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR
.sp
.sp
The directory where character sets are installed\&. See
The directory where character sets are installed\&.
Section\ \&9.5, \(lqCharacter Set Configuration\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -421,24 +402,6 @@ Produce more compact output\&. This option enables the
...
@@ -421,24 +402,6 @@ Produce more compact output\&. This option enables the
\fB\-\-skip\-disable\-keys\fR, and
\fB\-\-skip\-disable\-keys\fR, and
\fB\-\-skip\-set\-charset\fR
\fB\-\-skip\-set\-charset\fR
options\&.
options\&.
.if n \{\
.sp
.\}
.RS 4
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBNote\fR
.ps -1
.br
Prior to MySQL 5\&.1\&.21, this option did not create valid SQL if the database dump contained views\&. The recreation of views requires the creation and removal of temporary tables and this option suppressed the removal of those temporary tables\&. As a workaround, use
\fB\-\-compact\fR
with the
\fB\-\-add\-drop\-table\fR
option and then manually adjust the dump file\&.
.sp .5v
.RE
.RE
.RE
.RE
.sp
.sp
...
@@ -467,14 +430,12 @@ db2,
...
@@ -467,14 +430,12 @@ db2,
maxdb,
maxdb,
no_key_options,
no_key_options,
no_table_options, or
no_table_options, or
no_field_options\&. To use several values, separate them by commas\&. These values have the same meaning as the corresponding options for setting the server SQL mode\&. See
no_field_options\&. To use several values, separate them by commas\&. These values have the same meaning as the corresponding options for setting the server SQL mode\&.
Section\ \&5.1.8, \(lqServer SQL Modes\(rq\&.
.sp
.sp
This option does not guarantee compatibility with other servers\&. It only enables those SQL mode values that are currently available for making dump output more compatible\&. For example,
This option does not guarantee compatibility with other servers\&. It only enables those SQL mode values that are currently available for making dump output more compatible\&. For example,
\fB\-\-compatible=oracle\fR
\fB\-\-compatible=oracle\fR
does not map data types to Oracle types or use Oracle comment syntax\&.
does not map data types to Oracle types or use Oracle comment syntax\&.
.sp
.sp
\fIThis option requires a server version of 4\&.1\&.0 or higher\fR\&. With older servers, it does nothing\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -524,9 +485,9 @@ Compress all information sent between the client and the server if both support
...
@@ -524,9 +485,9 @@ Compress all information sent between the client and the server if both support
\fB\-\-create\-options\fR,
\fB\-\-create\-options\fR,
\fB\-a\fR
\fB\-a\fR
.sp
.sp
Include all MySQL\-specific table options in the
Include all MariaDB\-specific table options in the
CREATE TABLE
CREATE TABLE
statements\&.
statements\&. Use \fB\-\-skip-create-options\fR to disable.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -583,7 +544,7 @@ string is
...
@@ -583,7 +544,7 @@ string is
.\" debug-check option: mysqldump
.\" debug-check option: mysqldump
\fB\-\-debug\-check\fR
\fB\-\-debug\-check\fR
.sp
.sp
Print some debugging information when the program exits\&. This option was added in MySQL 5\&.1\&.21\&.
Print some debugging information when the program exits\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -598,7 +559,22 @@ Print some debugging information when the program exits\&. This option was added
...
@@ -598,7 +559,22 @@ Print some debugging information when the program exits\&. This option was added
.\" debug-info option: mysqldump
.\" debug-info option: mysqldump
\fB\-\-debug\-info\fR
\fB\-\-debug\-info\fR
.sp
.sp
Print debugging information and memory and CPU usage statistics when the program exits\&. This option was added in MySQL 5\&.1\&.14\&.
Print debugging information and memory and CPU usage statistics when the program exits\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqldump: default-auth option
.\" default-auth option: mysqldump
\fB\-\-default\-auth\fR
.sp
Default authentication client-side plugin to use\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -615,16 +591,11 @@ Print debugging information and memory and CPU usage statistics when the program
...
@@ -615,16 +591,11 @@ Print debugging information and memory and CPU usage statistics when the program
.sp
.sp
Use
Use
\fIcharset_name\fR
\fIcharset_name\fR
as the default character set\&. See
as the default character set\&. If no character set is specified,
Section\ \&9.5, \(lqCharacter Set Configuration\(rq\&. If no character set is specified,
\fBmysqldump\fR
\fBmysqldump\fR
uses
uses
utf8, and earlier versions use
utf8\&.
latin1\&.
.sp
.sp
Prior to MySQL 5\&.1\&.38, this option has no effect for output data files produced by using the
\fB\-\-tab\fR
option\&. See the description for that option\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -667,6 +638,21 @@ Must be given as first option\&.
...
@@ -667,6 +638,21 @@ Must be given as first option\&.
Also read groups with a suffix of \fIstr\fR\&. For example, since mysqldump normally reads the [client] and [mysqldump] groups, \-\-defaults\-group\-suffix=x would cause it to also read the groups [mysqldump_x] and [client_x]\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqldump: delayed-insert option
.\" mysqldump: delayed-insert option
.\" delayed-insert option: mysqldump
.\" delayed-insert option: mysqldump
\fB\-\-delayed\-insert\fR
\fB\-\-delayed\-insert\fR
...
@@ -756,7 +742,7 @@ control whether the date is added to the comment\&. The default is
...
@@ -756,7 +742,7 @@ control whether the date is added to the comment\&. The default is
\fB\-\-dump\-date\fR
\fB\-\-dump\-date\fR
(include the date in the comment)\&.
(include the date in the comment)\&.
\fB\-\-skip\-dump\-date\fR
\fB\-\-skip\-dump\-date\fR
suppresses date printing\&. This option was added in MySQL 5\&.1\&.23\&.
suppresses date printing\&
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -772,7 +758,7 @@ suppresses date printing\&. This option was added in MySQL 5\&.1\&.23\&.
...
@@ -772,7 +758,7 @@ suppresses date printing\&. This option was added in MySQL 5\&.1\&.23\&.
\fB\-\-events\fR,
\fB\-\-events\fR,
\fB\-E\fR
\fB\-E\fR
.sp
.sp
Include Event Scheduler events for the dumped databases in the output\&. This option was added in MySQL 5\&.1\&.8\&.
Include Event Scheduler events for the dumped databases in the output\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -821,8 +807,7 @@ These options are used with the
...
@@ -821,8 +807,7 @@ These options are used with the
option and have the same meaning as the corresponding
option and have the same meaning as the corresponding
FIELDS
FIELDS
clauses for
clauses for
LOAD DATA INFILE\&. See
LOAD DATA INFILE\&.
Section\ \&12.2.6, \(lqLOAD DATA INFILE Syntax\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -837,11 +822,9 @@ Section\ \&12.2.6, \(lqLOAD DATA INFILE Syntax\(rq\&.
...
@@ -837,11 +822,9 @@ Section\ \&12.2.6, \(lqLOAD DATA INFILE Syntax\(rq\&.
.\" first-slave option: mysqldump
.\" first-slave option: mysqldump
\fB\-\-first\-slave\fR
\fB\-\-first\-slave\fR
.sp
.sp
Deprecated\&. Use
Removed in MariaDB 5.5\&. Use
\fB\-\-lock\-all\-tables\fR
\fB\-\-lock\-all\-tables\fR
instead\&.
instead\&.
\fB\-\-first\-slave\fR
is removed in MySQL 5\&.5\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -857,7 +840,7 @@ is removed in MySQL 5\&.5\&.
...
@@ -857,7 +840,7 @@ is removed in MySQL 5\&.5\&.
\fB\-\-flush\-logs\fR,
\fB\-\-flush\-logs\fR,
\fB\-F\fR
\fB\-F\fR
.sp
.sp
Flush the MySQL server log files before starting the dump\&. This option requires the
Flush the MariaDB server log files before starting the dump\&. This option requires the
RELOAD
RELOAD
privilege\&. If you use this option in combination with the
privilege\&. If you use this option in combination with the
\fB\-\-all\-databases\fR
\fB\-\-all\-databases\fR
...
@@ -893,7 +876,7 @@ database\&. This option should be used any time the dump contains the
...
@@ -893,7 +876,7 @@ database\&. This option should be used any time the dump contains the
mysql
mysql
database and any other database that depends on the data in the
database and any other database that depends on the data in the
mysql
mysql
database for proper restoration\&. This option was added in MySQL 5\&.1\&.12\&.
database for proper restoration\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -930,13 +913,11 @@ prints the error message, but it also writes an SQL comment containing the view
...
@@ -930,13 +913,11 @@ prints the error message, but it also writes an SQL comment containing the view
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqldump: host option
.\" mysqldump: gtid option
.\" host option: mysqldump
.\" gtid option: mysqldump
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-\-gtid\fR
\fB\-h \fR\fB\fIhost_name\fR\fR
.sp
.sp
Dump data from the MySQL server on the given host\&. The default host is
Available from MariaDB 10.0.13, and is used together with \fB\-\-master\-data\fR and \fB\-\-dump\-slave\fR to more conveniently set up a new GTID slave\&. It causes those options to output SQL statements that configure the slave to use the global transaction ID to connect to the master instead of old-style filename/offset positions\&. The old-style positions are still included in comments when \fB\-\-gtid\fR is used; likewise the GTID position is included in comments even if \fB\-\-gtid\fR is not used\&.
localhost\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -970,6 +951,23 @@ BIT\&.
...
@@ -970,6 +951,23 @@ BIT\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqldump: host option
.\" host option: mysqldump
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-h \fR\fB\fIhost_name\fR\fR
.sp
Dump data from the MariaDB server on the given host\&. The default host is
@@ -985,6 +983,22 @@ Do not dump the given table, which must be specified using both the database and
...
@@ -985,6 +983,22 @@ Do not dump the given table, which must be specified using both the database and
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqldump: include-master-host-port option
.\" include-master-host-port option: mysqldump
\fB\-\-include\-master\-host\-port\fR
.sp
Add the MASTER_HOST and MASTER_PORT options for the CHANGE MASTER TO statement when using
the \fB--dump-slave\fR option for a slave dump\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqldump: insert-ignore option
.\" mysqldump: insert-ignore option
.\" insert-ignore option: mysqldump
.\" insert-ignore option: mysqldump
\fB\-\-insert\-ignore\fR
\fB\-\-insert\-ignore\fR
...
@@ -1013,8 +1027,7 @@ This option is used with the
...
@@ -1013,8 +1027,7 @@ This option is used with the
option and has the same meaning as the corresponding
option and has the same meaning as the corresponding
LINES
LINES
clause for
clause for
LOAD DATA INFILE\&. See
LOAD DATA INFILE\&.
Section\ \&12.2.6, \(lqLOAD DATA INFILE Syntax\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1063,6 +1076,8 @@ because it does not need to lock the tables at all\&.
...
@@ -1063,6 +1076,8 @@ because it does not need to lock the tables at all\&.
Because
Because
\fB\-\-lock\-tables\fR
\fB\-\-lock\-tables\fR
locks tables for each database separately, this option does not guarantee that the tables in the dump file are logically consistent between databases\&. Tables in different databases may be dumped in completely different states\&.
locks tables for each database separately, this option does not guarantee that the tables in the dump file are logically consistent between databases\&. Tables in different databases may be dumped in completely different states\&.
.sp
Use \fB--skip-lock-tables\fR to disable\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1077,7 +1092,7 @@ locks tables for each database separately, this option does not guarantee that t
...
@@ -1077,7 +1092,7 @@ locks tables for each database separately, this option does not guarantee that t
.\" log-error option: mysqldump
.\" log-error option: mysqldump
\fB\-\-log\-error=\fR\fB\fIfile_name\fR\fR
\fB\-\-log\-error=\fR\fB\fIfile_name\fR\fR
.sp
.sp
Log warnings and errors by appending them to the named file\&. The default is to do no logging\&. This option was added in MySQL 5\&.1\&.18\&.
Log warnings and errors by appending them to the named file\&. The default is to do no logging\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1110,8 +1125,7 @@ option automatically turns off
...
@@ -1110,8 +1125,7 @@ option automatically turns off
\fB\-\-lock\-tables\fR\&. It also turns on
\fB\-\-lock\-tables\fR\&. It also turns on
\fB\-\-lock\-all\-tables\fR, unless
\fB\-\-lock\-all\-tables\fR, unless
\fB\-\-single\-transaction\fR
\fB\-\-single\-transaction\fR
also is specified, in which case, a global read lock is acquired only for a short time at the beginning of the dump (see the description for
also is specified\&. In all cases, any action on logs happens at the exact moment of the dump\&.
\fB\-\-single\-transaction\fR)\&. In all cases, any action on logs happens at the exact moment of the dump\&.
.sp
.sp
It is also possible to set up a slave by dumping an existing slave of the master\&. To do this, use the following procedure on the existing slave:
It is also possible to set up a slave by dumping an existing slave of the master\&. To do this, use the following procedure on the existing slave:
.sp
.sp
...
@@ -1410,7 +1424,7 @@ This option is shorthand\&. It is the same as specifying
...
@@ -1410,7 +1424,7 @@ This option is shorthand\&. It is the same as specifying
\fB\-\-extended\-insert\fR
\fB\-\-extended\-insert\fR
\fB\-\-lock\-tables\fR
\fB\-\-lock\-tables\fR
\fB\-\-quick\fR
\fB\-\-quick\fR
\fB\-\-set\-charset\fR\&. It should give you a fast dump operation and produce a dump file that can be reloaded into a MySQL server quickly\&.
\fB\-\-set\-charset\fR\&. It should give you a fast dump operation and produce a dump file that can be reloaded into a MariaDB server quickly\&.
.sp
.sp
\fIThe \fR\fI\fB\-\-opt\fR\fR\fI option is enabled by default\&. Use \fR\fI\fB\-\-skip\-opt\fR\fR\fI to disable it\&.\fR
\fIThe \fR\fI\fB\-\-opt\fR\fR\fI option is enabled by default\&. Use \fR\fI\fB\-\-skip\-opt\fR\fR\fI to disable it\&.\fR
See the discussion at the beginning of this section for information about selectively enabling or disabling a subset of the options affected by
See the discussion at the beginning of this section for information about selectively enabling or disabling a subset of the options affected by
...
@@ -1461,8 +1475,7 @@ option on the command line,
...
@@ -1461,8 +1475,7 @@ option on the command line,
\fBmysqldump\fR
\fBmysqldump\fR
prompts for one\&.
prompts for one\&.
.sp
.sp
Specifying a password on the command line should be considered insecure\&. See
Specifying a password on the command line should be considered insecure\&. You can use an option file to avoid giving the password on the command line\&.
Section\ \&5.3.2.2, \(lqEnd-User Guidelines for Password Security\(rq\&. You can use an option file to avoid giving the password on the command line\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1489,6 +1502,21 @@ On Windows, connect to the server via a named pipe\&. This option applies only i
...
@@ -1489,6 +1502,21 @@ On Windows, connect to the server via a named pipe\&. This option applies only i
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqldump: plugin-dir option
.\" plugin-dir option: mysqldump
\fB\-\-plugin\-dir\fR
.sp
Directory for client-side plugins\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqldump: port option
.\" mysqldump: port option
.\" port option: mysqldump
.\" port option: mysqldump
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
...
@@ -1509,8 +1537,7 @@ The TCP/IP port number to use for the connection\&.
...
@@ -1509,8 +1537,7 @@ The TCP/IP port number to use for the connection\&.
.\" protocol option: mysqldump
.\" protocol option: mysqldump
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
.sp
.sp
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&. For details on the allowable values, see
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&.
Section\ \&4.2.2, \(lqConnecting to the MySQL Server\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1543,7 +1570,7 @@ to retrieve rows for a table from the server a row at a time rather than retriev
...
@@ -1543,7 +1570,7 @@ to retrieve rows for a table from the server a row at a time rather than retriev
.\" print-defaults option: mysqldump
.\" print-defaults option: mysqldump
\fB\-\-print\-defaults\fR
\fB\-\-print\-defaults\fR
.sp
.sp
Print the program argument list and exit\&. This must begiven as the first argument\&.
Print the program argument list and exit\&. This must begiven as the first argument\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1588,7 +1615,7 @@ Write
...
@@ -1588,7 +1615,7 @@ Write
REPLACE
REPLACE
statements rather than
statements rather than
INSERT
INSERT
statements\&. This option was added in MySQL 5\&.1\&.3\&.
statements\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1639,15 +1666,10 @@ statements to re\-create the routines\&. However, these statements do not includ
...
@@ -1639,15 +1666,10 @@ statements to re\-create the routines\&. However, these statements do not includ
If you require routines to be re\-created with their original timestamp attributes, do not use
If you require routines to be re\-created with their original timestamp attributes, do not use
\fB\-\-routines\fR\&. Instead, dump and reload the contents of the
\fB\-\-routines\fR\&. Instead, dump and reload the contents of the
mysql\&.proc
mysql\&.proc
table directly, using a MySQL account that has appropriate privileges for the
table directly, using a MariaDB account that has appropriate privileges for the
mysql
mysql
database\&.
database\&.
.sp
.sp
This option was added in MySQL 5\&.1\&.2\&. Before that, stored routines are not dumped\&. Routine
DEFINER
values are not dumped until MySQL 5\&.1\&.8\&. This means that before 5\&.1\&.8, when routines are reloaded, they will be created with the definer set to the reloading user\&. If you require routines to be re\-created with their original definer, dump and load the contents of the
mysql\&.proc
table directly as described earlier\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1718,14 +1740,6 @@ option are mutually exclusive because
...
@@ -1718,14 +1740,6 @@ option are mutually exclusive because
LOCK TABLES
LOCK TABLES
causes any pending transactions to be committed implicitly\&.
causes any pending transactions to be committed implicitly\&.
.sp
.sp
This option is not supported for MySQL Cluster tables; the results cannot be guaranteed to be consistent due to the fact that the
NDBCLUSTER
storage engine supports only the
READ_COMMITTED
transaction isolation level\&. You should always use
NDB
backup and restore instead\&.
.sp
To dump large tables, you should combine the
To dump large tables, you should combine the
\fB\-\-single\-transaction\fR
\fB\-\-single\-transaction\fR
option with
option with
...
@@ -1740,11 +1754,45 @@ option with
...
@@ -1740,11 +1754,45 @@ option with
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqldump: skip-add-drop-table option
.\" skip-add-drop-table option: mysqldump
\fB\-\-skip\-add\-drop\-table\fR
.sp
Disable the
\fB\-\-add\-drop\-table\fR
option\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqldump: skip-add-locks option
.\" skip-add-locks option: mysqldump
\fB\-\-skip\-add\-locks\fR
.sp
Disable the
\fB\-\-add\-locks\fR
option\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqldump: skip-comments option
.\" mysqldump: skip-comments option
.\" skip-comments option: mysqldump
.\" skip-comments option: mysqldump
\fB\-\-skip\-comments\fR
\fB\-\-skip\-comments\fR
.sp
.sp
See the description for the
Disable the
\fB\-\-comments\fR
\fB\-\-comments\fR
option\&.
option\&.
.RE
.RE
...
@@ -1757,11 +1805,62 @@ option\&.
...
@@ -1757,11 +1805,62 @@ option\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqldump: skip-compact option
.\" skip-compact option: mysqldump
\fB\-\-skip\-compact\fR
.sp
Disable the
\fB\-\-compact\fR
option\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqldump: skip-disable-keys option
.\" skip-disable-keys option: mysqldump
\fB\-\-skip\-disable\-keys\fR
.sp
Disable the
\fB\-\-disable\-keys\fR
option\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqldump: skip-extended-insert option
.\" skip-extended-insert option: mysqldump
\fB\-\-skip\-extended\-insert\fR
.sp
Disable the
\fB\-\-extended\-insert\fR
option\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqldump: skip-opt option
.\" mysqldump: skip-opt option
.\" skip-opt option: mysqldump
.\" skip-opt option: mysqldump
\fB\-\-skip\-opt\fR
\fB\-\-skip\-opt\fR
.sp
.sp
See the description for the
Disable the
\fB\-\-opt\fR
\fB\-\-opt\fR
option\&.
option\&.
.RE
.RE
...
@@ -1774,6 +1873,91 @@ option\&.
...
@@ -1774,6 +1873,91 @@ option\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqldump: skip-quick option
.\" skip-quick option: mysqldump
\fB\-\-skip\-quick\fR
.sp
Disable the
\fB\-\-quick\fR
option\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqldump: skip-quote-names option
.\" skip-quote-names option: mysqldump
\fB\-\-skip\-quote\-names\fR
.sp
Disable the
\fB\-\-quote\-names\fR
option\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqldump: skip-set-charset option
.\" skip-set-charset option: mysqldump
\fB\-\-skip\-set\-charset\fR
.sp
Disable the
\fB\-\-set\-charset\fR
option\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqldump: skip-triggers option
.\" skip-triggers option: mysqldump
\fB\-\-skip\-triggers\fR
.sp
Disable the
\fB\-\-triggers\fR
option\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqldump: skip-tz-utc option
.\" skip-tz-utc option: mysqldump
\fB\-\-skip\-tz\-utc\fR
.sp
Disable the
\fB\-\-tz\-utc\fR
option\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqldump: socket option
.\" mysqldump: socket option
.\" socket option: mysqldump
.\" socket option: mysqldump
\fB\-\-socket=\fR\fB\fIpath\fR\fR,
\fB\-\-socket=\fR\fB\fIpath\fR\fR,
...
@@ -1791,14 +1975,139 @@ localhost, the Unix socket file to use, or, on Windows, the name of the named pi
...
@@ -1791,14 +1975,139 @@ localhost, the Unix socket file to use, or, on Windows, the name of the named pi
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqldump: SSL options
.\" mysqladmin: SSL options
.\" SSL options: mysqldump
.\" SSL options: mysqladmin
\fB\-\-ssl*\fR
.sp
Options that begin with
\fB\-\-ssl\fR
\fB\-\-ssl\fR
specify whether to connect to the server via SSL and indicate where to find SSL keys and certificates\&. See
Enable SSL for connection (automatically enabled with other flags). Disable with
\fB\-\-skip-ssl\fR\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL CA option
.\" SSL CA option: mysqladmin
\fB\-\-ssl\-ca=\fIname\fR
.sp
CA file in PEM format (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL CA Path option
.\" SSL CA Path option: mysqladmin
\fB\-\-ssl\-capath=\fIname\fR
.sp
CA directory (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL Cert option
.\" SSL Cert option: mysqladmin
\fB\-\-ssl\-cert=\fIname\fR
.sp
X509 cert in PEM format (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL Cipher option
.\" SSL Cipher option: mysqladmin
\fB\-\-ssl\-cipher=\fIname\fR
.sp
SSL cipher to use (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL Key option
.\" SSL Key option: mysqladmin
\fB\-\-ssl\-key=\fIname\fR
.sp
X509 key in PEM format (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL Crl option
.\" SSL CRL option: mysqladmin
\fB\-\-ssl\-crl=\fIname\fR
.sp
Certificate revocation list (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL Crlpath option
.\" SSL Crlpath option: mysqladmin
\fB\-\-ssl\-crlpath=\fIname\fR
.sp
Certificate revocation list path (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqladmin: SSL Verify Server Cert option
.\" SSL Verify Server Cert option: mysqladmin
\fB\-\-ssl\-verify\-server\-cert\fR
.sp
Verify server's "Common Name" in its cert against hostname used when connecting. This option is disabled by default\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1852,11 +2161,9 @@ and
...
@@ -1852,11 +2161,9 @@ and
\fB\-\-lines\-terminated\-by\fR
\fB\-\-lines\-terminated\-by\fR
options\&.
options\&.
.sp
.sp
As of MySQL 5\&.1\&.38, column values are converted to the character set specified by the
Column values are converted to the character set specified by the
\fB\-\-default\-character\-set\fR
\fB\-\-default\-character\-set\fR
option\&. Prior to 5\&.1\&.38 or if no such option is present, values are dumped using the
option\&.
binary
character set\&. In effect, there is no character set conversion\&. If a table contains columns in several character sets, the output data file will as well and you may not be able to reload the file correctly\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1921,7 +2228,7 @@ columns are dumped and reloaded in the time zones local to the source and destin
...
@@ -1921,7 +2228,7 @@ columns are dumped and reloaded in the time zones local to the source and destin
also protects against changes due to daylight saving time\&.
also protects against changes due to daylight saving time\&.
\fB\-\-tz\-utc\fR
\fB\-\-tz\-utc\fR
is enabled by default\&. To disable it, use
is enabled by default\&. To disable it, use
\fB\-\-skip\-tz\-utc\fR\&. This option was added in MySQL 5\&.1\&.2\&.
\fB\-\-skip\-tz\-utc\fR\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1937,7 +2244,7 @@ is enabled by default\&. To disable it, use
...
@@ -1937,7 +2244,7 @@ is enabled by default\&. To disable it, use
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-u \fR\fB\fIuser_name\fR\fR
\fB\-u \fR\fB\fIuser_name\fR\fR
.sp
.sp
The MySQL user name to use when connecting to the server\&.
The MariaDB user name to use when connecting to the server\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -2050,14 +2357,14 @@ T}:T{
...
@@ -2050,14 +2357,14 @@ T}:T{
T}
T}
.TE
.TE
.sp 1
.sp 1
Beginning with MySQL 5\&.1\&.12, the output from the
The output from the
\fBmysql\fR
\fBmysql\fR
client when run using the
client when run using the
\fB\-\-xml\fR
\fB\-\-xml\fR
option also follows the preceding rules\&. (See
option also follows the preceding rules\&. (See
the section called \(lqMYSQL OPTIONS\(rq\&.)
the section called \(lqMYSQL OPTIONS\(rq\&.)
.sp
.sp
Beginning with MySQL 5\&.1\&.18, XML output from
XML output from
\fBmysqldump\fR
\fBmysqldump\fR
includes the XML namespace, as shown here:
includes the XML namespace, as shown here:
.sp
.sp
...
@@ -2148,7 +2455,7 @@ creates rows up to
...
@@ -2148,7 +2455,7 @@ creates rows up to
net_buffer_length
net_buffer_length
length\&. If you increase this variable, you should also ensure that the
length\&. If you increase this variable, you should also ensure that the
net_buffer_length
net_buffer_length
variable in the MySQL server is at least this large\&.
variable in the MariaDB server is at least this large\&.
This backup acquires a global read lock on all tables (using
This backup acquires a global read lock on all tables (using
FLUSH TABLES WITH READ LOCK) at the beginning of the dump\&. As soon as this lock has been acquired, the binary log coordinates are read and the lock is released\&. If long updating statements are running when the
FLUSH TABLES WITH READ LOCK) at the beginning of the dump\&. As soon as this lock has been acquired, the binary log coordinates are read and the lock is released\&. If long updating statements are running when the
FLUSH
FLUSH
statement is issued, the MySQL server may get stalled until those statements finish\&. After that, the dump becomes lock free and does not disturb reads and writes on the tables\&. If the update statements that the MySQL server receives are short (in terms of execution time), the initial lock period should not be noticeable, even with many updates\&.
statement is issued, the MariaDB server may get stalled until those statements finish\&. After that, the dump becomes lock free and does not disturb reads and writes on the tables\&. If the update statements that the MariaDB server receives are short (in terms of execution time), the initial lock period should not be noticeable, even with many updates\&.
.PP
.PP
For point\-in\-time recovery (also known as
For point\-in\-time recovery (also known as
\(lqroll\-forward,\(rq
\(lqroll\-forward,\(rq
when you need to restore an old backup and replay the changes that happened since that backup), it is often useful to rotate the binary log (see
when you need to restore an old backup and replay the changes that happened since that backup), it is often useful to rotate the binary log or at least know the binary log coordinates to which the dump corresponds:
Section\ \&5.2.4, \(lqThe Binary Log\(rq) or at least know the binary log coordinates to which the dump corresponds:
.sp
.sp
.if n \{\
.if n \{\
.RS 4
.RS 4
...
@@ -2285,19 +2591,15 @@ options can be used simultaneously, which provides a convenient way to make an o
...
@@ -2285,19 +2591,15 @@ options can be used simultaneously, which provides a convenient way to make an o
InnoDB
InnoDB
storage engine\&.
storage engine\&.
.PP
.PP
For more information on making backups, see
Section\ \&6.2, \(lqDatabase Backup Methods\(rq, and
Section\ \&6.3, \(lqExample Backup and Recovery Strategy\(rq\&.
.\" mysqldump: views
.\" mysqldump: views
.\" mysqldump: problems
.\" mysqldump: problems
.\" mysqldump: workarounds
.\" mysqldump: workarounds
.PP
.PP
If you encounter problems backing up views, please read the section that covers restrictions on views which describes a workaround for backing up views when this fails due to insufficient privileges\&. See
If you encounter problems backing up views, please read the section that covers restrictions on views which describes a workaround for backing up views when this fails due to insufficient privileges\&.
Section\ \&D.4, \(lqRestrictions on Views\(rq\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -2312,8 +2614,6 @@ Bug#30123
...
@@ -2312,8 +2614,6 @@ Bug#30123
\%http://bugs.mysql.com/bug.php?id=30123
\%http://bugs.mysql.com/bug.php?id=30123
.RE
.RE
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -318,8 +310,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -318,8 +310,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -319,15 +312,29 @@ tables in the backup\&. This makes the backup smaller and faster\&. The indexes
...
@@ -319,15 +312,29 @@ tables in the backup\&. This makes the backup smaller and faster\&. The indexes
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlhotcopy: old-server option
.\" old-server option: mysqlhotcopy
\fB\-\-old\-server\fR
.sp
Connect to old MySQL-server (before v5.5) which doesn't have FLUSH TABLES WITH READ LOCK fully implemented.\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlhotcopy: password option
.\" mysqlhotcopy: password option
.\" password option: mysqlhotcopy
.\" password option: mysqlhotcopy
\fB\-\-password=\fR\fB\fIpassword\fR\fR,
\fB\-\-password=\fR\fB\fIpassword\fR\fR,
\fB\-p\fR\fB\fIpassword\fR\fR
\fB\-p\fR\fB\fIpassword\fR\fR
.sp
.sp
The password to use when connecting to the server\&. The password value is not optional for this option, unlike for other MySQL programs\&.
The password to use when connecting to the server\&. The password value is not optional for this option, unlike for other MariaDB programs\&.
.sp
.sp
Specifying a password on the command line should be considered insecure\&. See
Specifying a password on the command line should be considered insecure\&. You can use an option file to avoid giving the password on the command line\&.
Section\ \&5.3.2.2, \(lqEnd-User Guidelines for Password Security\(rq\&. You can use an option file to avoid giving the password on the command line\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -488,7 +495,7 @@ The temporary directory\&. The default is
...
@@ -488,7 +495,7 @@ The temporary directory\&. The default is
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-u \fR\fB\fIuser_name\fR\fR
\fB\-u \fR\fB\fIuser_name\fR\fR
.sp
.sp
The MySQL user name to use when connecting to the server\&.
The MariaDB user name to use when connecting to the server\&.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -522,8 +529,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -522,8 +529,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -38,8 +31,7 @@ SQL statement\&. Most options to
...
@@ -38,8 +31,7 @@ SQL statement\&. Most options to
\fBmysqlimport\fR
\fBmysqlimport\fR
correspond directly to clauses of
correspond directly to clauses of
LOAD DATA INFILE
LOAD DATA INFILE
syntax\&. See
syntax\&.
Section\ \&12.2.6, \(lqLOAD DATA INFILE Syntax\(rq\&.
.PP
.PP
Invoke
Invoke
\fBmysqlimport\fR
\fBmysqlimport\fR
...
@@ -64,9 +56,6 @@ patient
...
@@ -64,9 +56,6 @@ patient
all would be imported into a table named
all would be imported into a table named
patient\&.
patient\&.
.PP
.PP
For additional information about
\fBmysqldump\fR, see
Section\ \&6.4, \(lqUsing mysqldump for Backups\(rq\&.
.PP
.PP
\fBmysqldump\fR
\fBmysqldump\fR
supports the following options, which can be specified on the command line or in the
supports the following options, which can be specified on the command line or in the
...
@@ -75,8 +64,7 @@ and
...
@@ -75,8 +64,7 @@ and
[client]
[client]
option file groups\&.
option file groups\&.
\fBmysqldump\fR
\fBmysqldump\fR
also supports the options for processing option files described at
also supports the options for processing option files\&.
Section\ \&4.2.3.3.1, \(lqCommand-Line Options that Affect Option-File Handling\(rq\&.
.sp
.sp
.RS 4
.RS 4
.ie n \{\
.ie n \{\
...
@@ -106,8 +94,7 @@ Display a help message and exit\&.
...
@@ -106,8 +94,7 @@ Display a help message and exit\&.
.\" character-sets-dir option: mysqlimport
.\" character-sets-dir option: mysqlimport
\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR
\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR
.sp
.sp
The directory where character sets are installed\&. See
The directory where character sets are installed\&.
Section\ \&9.5, \(lqCharacter Set Configuration\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -174,7 +161,7 @@ string is
...
@@ -174,7 +161,7 @@ string is
.\" debug-check option: mysqlimport
.\" debug-check option: mysqlimport
\fB\-\-debug\-check\fR
\fB\-\-debug\-check\fR
.sp
.sp
Print some debugging information when the program exits\&. This option was added in MySQL 5\&.1\&.21\&.
Print some debugging information when the program exits\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -189,7 +176,22 @@ Print some debugging information when the program exits\&. This option was added
...
@@ -189,7 +176,22 @@ Print some debugging information when the program exits\&. This option was added
.\" debug-info option: mysqlimport
.\" debug-info option: mysqlimport
\fB\-\-debug\-info\fR
\fB\-\-debug\-info\fR
.sp
.sp
Print debugging information and memory and CPU usage statistics when the program exits\&. This option was added in MySQL 5\&.1\&.14\&.
Print debugging information and memory and CPU usage statistics when the program exits\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlimport: default-auth option
.\" default-auth option: mysqlimport
\fB\-\-default\-auth=\fIplugin_name\fR
.sp
Default authentication client-side plugin to use\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -206,8 +208,7 @@ Print debugging information and memory and CPU usage statistics when the program
...
@@ -206,8 +208,7 @@ Print debugging information and memory and CPU usage statistics when the program
.sp
.sp
Use
Use
\fIcharset_name\fR
\fIcharset_name\fR
as the default character set\&. See
as the default character set\&.
Section\ \&9.5, \(lqCharacter Set Configuration\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -280,8 +281,7 @@ Empty the table before importing the text file\&.
...
@@ -280,8 +281,7 @@ Empty the table before importing the text file\&.
\fB\-\-fields\-escaped\-by=\&.\&.\&.\fR
\fB\-\-fields\-escaped\-by=\&.\&.\&.\fR
.sp
.sp
These options have the same meaning as the corresponding clauses for
These options have the same meaning as the corresponding clauses for
LOAD DATA INFILE\&. See
LOAD DATA INFILE\&.
Section\ \&12.2.6, \(lqLOAD DATA INFILE Syntax\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -316,7 +316,7 @@ exits if a table does not exist\&.
...
@@ -316,7 +316,7 @@ exits if a table does not exist\&.
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-h \fR\fB\fIhost_name\fR\fR
\fB\-h \fR\fB\fIhost_name\fR\fR
.sp
.sp
Import data to the MySQL server on the given host\&. The default host is
Import data to the MariaDB server on the given host\&. The default host is
localhost\&.
localhost\&.
.RE
.RE
.sp
.sp
...
@@ -369,8 +369,7 @@ lines of the data file\&.
...
@@ -369,8 +369,7 @@ lines of the data file\&.
.sp
.sp
This option has the same meaning as the corresponding clause for
This option has the same meaning as the corresponding clause for
LOAD DATA INFILE\&. For example, to import Windows files that have lines terminated with carriage return/linefeed pairs, use
LOAD DATA INFILE\&. For example, to import Windows files that have lines terminated with carriage return/linefeed pairs, use
\fB\-\-lines\-terminated\-by="\er\en"\fR\&. (You might have to double the backslashes, depending on the escaping conventions of your command interpreter\&.) See
\fB\-\-lines\-terminated\-by="\er\en"\fR\&. (You might have to double the backslashes, depending on the escaping conventions of your command interpreter\&.)\&.
Section\ \&12.2.6, \(lqLOAD DATA INFILE Syntax\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -468,8 +467,7 @@ option on the command line,
...
@@ -468,8 +467,7 @@ option on the command line,
\fBmysqlimport\fR
\fBmysqlimport\fR
prompts for one\&.
prompts for one\&.
.sp
.sp
Specifying a password on the command line should be considered insecure\&. See
Specifying a password on the command line should be considered insecure\&. You can use an option file to avoid giving the password on the command line\&.
Section\ \&5.3.2.2, \(lqEnd-User Guidelines for Password Security\(rq\&. You can use an option file to avoid giving the password on the command line\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -496,6 +494,21 @@ On Windows, connect to the server via a named pipe\&. This option applies only i
...
@@ -496,6 +494,21 @@ On Windows, connect to the server via a named pipe\&. This option applies only i
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlimport: plugin-dir option
.\" plugin-dir option: mysqlimport
\fB\-\-plugin\-dir=\fR\fB\fIname\fR\fR
.sp
Directory for client-side plugins\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlimport: port option
.\" mysqlimport: port option
.\" port option: mysqlimport
.\" port option: mysqlimport
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
...
@@ -516,8 +529,7 @@ The TCP/IP port number to use for the connection\&.
...
@@ -516,8 +529,7 @@ The TCP/IP port number to use for the connection\&.
.\" protocol option: mysqlimport
.\" protocol option: mysqlimport
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
.sp
.sp
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&. For details on the allowable values, see
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&.
Section\ \&4.2.2, \(lqConnecting to the MySQL Server\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -599,14 +611,139 @@ localhost, the Unix socket file to use, or, on Windows, the name of the named pi
...
@@ -599,14 +611,139 @@ localhost, the Unix socket file to use, or, on Windows, the name of the named pi
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlimport: SSL options
.\" mysqladmin: SSL options
.\" SSL options: mysqlimport
.\" SSL options: mysqladmin
\fB\-\-ssl*\fR
.sp
Options that begin with
\fB\-\-ssl\fR
\fB\-\-ssl\fR
specify whether to connect to the server via SSL and indicate where to find SSL keys and certificates\&. See
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -719,8 +856,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -719,8 +856,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -38,8 +31,7 @@ client can be used to quickly see which databases exist, their tables, or a tabl
...
@@ -38,8 +31,7 @@ client can be used to quickly see which databases exist, their tables, or a tabl
\fBmysqlshow\fR
\fBmysqlshow\fR
provides a command\-line interface to several SQL
provides a command\-line interface to several SQL
SHOW
SHOW
statements\&. See
statements\&. The same information can be obtained by using those statements directly\&. For example, you can issue them from the
Section\ \&12.4.5, \(lqSHOW Syntax\(rq\&. The same information can be obtained by using those statements directly\&. For example, you can issue them from the
\fBmysql\fR
\fBmysql\fR
client program\&.
client program\&.
.PP
.PP
...
@@ -118,8 +110,7 @@ and
...
@@ -118,8 +110,7 @@ and
[client]
[client]
option file groups\&.
option file groups\&.
\fBmysqlshow\fR
\fBmysqlshow\fR
also supports the options for processing option files described at
also supports the options for processing option files described.
Section\ \&4.2.3.3.1, \(lqCommand-Line Options that Affect Option-File Handling\(rq\&.
.sp
.sp
.RS 4
.RS 4
.ie n \{\
.ie n \{\
...
@@ -148,10 +139,9 @@ Display a help message and exit\&.
...
@@ -148,10 +139,9 @@ Display a help message and exit\&.
.\" mysqlshow: character-sets-dir option
.\" mysqlshow: character-sets-dir option
.\" character-sets-dir option: mysqlshow
.\" character-sets-dir option: mysqlshow
\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR,
\fB\-\-character\-sets\-dir=\fR\fB\fIpath\fR\fR,
\fB\-c\fR
\fB\-c\fR \fIpath\fR\fR
.sp
.sp
The directory where character sets are installed\&. See
The directory where character sets are installed\&.
Section\ \&9.5, \(lqCharacter Set Configuration\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -218,7 +208,7 @@ string is
...
@@ -218,7 +208,7 @@ string is
.\" debug-check option: mysqlshow
.\" debug-check option: mysqlshow
\fB\-\-debug\-check\fR
\fB\-\-debug\-check\fR
.sp
.sp
Print some debugging information when the program exits\&. This option was added in MySQL 5\&.1\&.21\&.
Print some debugging information when the program exits\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -233,7 +223,22 @@ Print some debugging information when the program exits\&. This option was added
...
@@ -233,7 +223,22 @@ Print some debugging information when the program exits\&. This option was added
.\" debug-info option: mysqlshow
.\" debug-info option: mysqlshow
\fB\-\-debug\-info\fR
\fB\-\-debug\-info\fR
.sp
.sp
Print debugging information and memory and CPU usage statistics when the program exits\&. This option was added in MySQL 5\&.1\&.14\&.
Print debugging information and memory and CPU usage statistics when the program exits\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlshow: default-auth option
.\" default-auth option: mysqlshow
\fB\-\-default\-auth=\fR\fB\fIname\fR
.sp
Default authentication client-side plugin to use\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -250,8 +255,7 @@ Print debugging information and memory and CPU usage statistics when the program
...
@@ -250,8 +255,7 @@ Print debugging information and memory and CPU usage statistics when the program
.sp
.sp
Use
Use
\fIcharset_name\fR
\fIcharset_name\fR
as the default character set\&. See
as the default character set\&.
Section\ \&9.5, \(lqCharacter Set Configuration\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -294,12 +298,27 @@ Must be given as first option\&.
...
@@ -294,12 +298,27 @@ Must be given as first option\&.
In addition to the groups named on the command line, read groups that have the given suffix\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlshow: host option
.\" mysqlshow: host option
.\" host option: mysqlshow
.\" host option: mysqlshow
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-h \fR\fB\fIhost_name\fR\fR
\fB\-h \fR\fB\fIhost_name\fR\fR
.sp
.sp
Connect to the MySQL server on the given host\&.
Connect to the MariaDB server on the given host\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -359,8 +378,7 @@ option on the command line,
...
@@ -359,8 +378,7 @@ option on the command line,
\fBmysqlshow\fR
\fBmysqlshow\fR
prompts for one\&.
prompts for one\&.
.sp
.sp
Specifying a password on the command line should be considered insecure\&. See
Specifying a password on the command line should be considered insecure\&. You can use an option file to avoid giving the password on the command line\&.
Section\ \&5.3.2.2, \(lqEnd-User Guidelines for Password Security\(rq\&. You can use an option file to avoid giving the password on the command line\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -387,6 +405,21 @@ On Windows, connect to the server via a named pipe\&. This option applies only i
...
@@ -387,6 +405,21 @@ On Windows, connect to the server via a named pipe\&. This option applies only i
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlshow: plugin-dir option
.\" plugin-dir option: mysqlshow
\fB\-\-plugin\-dir=\fIdir_name\fR
.sp
Directory for client-side plugins\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlshow: port option
.\" mysqlshow: port option
.\" port option: mysqlshow
.\" port option: mysqlshow
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
...
@@ -407,8 +440,7 @@ The TCP/IP port number to use for the connection\&.
...
@@ -407,8 +440,7 @@ The TCP/IP port number to use for the connection\&.
.\" protocol option: mysqlshow
.\" protocol option: mysqlshow
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
.sp
.sp
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&. For details on the allowable values, see
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&.
Section\ \&4.2.2, \(lqConnecting to the MySQL Server\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -474,12 +506,137 @@ localhost, the Unix socket file to use, or, on Windows, the name of the named pi
...
@@ -474,12 +506,137 @@ localhost, the Unix socket file to use, or, on Windows, the name of the named pi
.\}
.\}
.\" mysqlshow: SSL options
.\" mysqlshow: SSL options
.\" SSL options: mysqlshow
.\" SSL options: mysqlshow
\fB\-\-ssl*\fR
.sp
Options that begin with
\fB\-\-ssl\fR
\fB\-\-ssl\fR
specify whether to connect to the server via SSL and indicate where to find SSL keys and certificates\&. See
Enable SSL for connection (automatically enabled with other flags). Disable with
\fB\-\-skip-ssl\fR\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlshow: SSL CA option
.\" SSL CA option: mysqlshow
\fB\-\-ssl\-ca=\fIname\fR
.sp
CA file in PEM format (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlshow: SSL CA Path option
.\" SSL CA Path option: mysqlshow
\fB\-\-ssl\-capath=\fIname\fR
.sp
CA directory (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlshow: SSL Cert option
.\" SSL Cert option: mysqlshow
\fB\-\-ssl\-cert=\fIname\fR
.sp
X509 cert in PEM format (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlshow: SSL Cipher option
.\" SSL Cipher option: mysqlshow
\fB\-\-ssl\-cipher=\fIname\fR
.sp
SSL cipher to use (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlshow: SSL Key option
.\" SSL Key option: mysqlshow
\fB\-\-ssl\-key=\fIname\fR
.sp
X509 key in PEM format (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlshow: SSL Crl option
.\" SSL CRL option: mysqlshow
\fB\-\-ssl\-crl=\fIname\fR
.sp
Certificate revocation list (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlshow: SSL Crlpath option
.\" SSL Crlpath option: mysqlshow
\fB\-\-ssl\-crlpath=\fIname\fR
.sp
Certificate revocation list path (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlshow: SSL Verify Server Cert option
.\" SSL Verify Server Cert option: mysqlshow
\fB\-\-ssl\-verify\-server\-cert\fR
.sp
Verify server's "Common Name" in its cert against hostname used when connecting. This option is disabled by default\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -511,7 +668,7 @@ Display extra information about each table\&.
...
@@ -511,7 +668,7 @@ Display extra information about each table\&.
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-u \fR\fB\fIuser_name\fR\fR
\fB\-u \fR\fB\fIuser_name\fR\fR
.sp
.sp
The MySQL user name to use when connecting to the server\&.
The MariaDB user name to use when connecting to the server\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -548,7 +705,7 @@ Display version information and exit\&.
...
@@ -548,7 +705,7 @@ Display version information and exit\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -557,8 +714,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -557,8 +714,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
is a diagnostic program designed to emulate client load for a MySQL server and to report the timing of each stage\&. It works as if multiple clients are accessing the server\&.
is a diagnostic program designed to emulate client load for a MariaDB server and to report the timing of each stage\&. It works as if multiple clients are accessing the server\&.
\fBmysqlslap\fR
is available as of MySQL 5\&.1\&.4\&.
.PP
.PP
Invoke
Invoke
\fBmysqlslap\fR
\fBmysqlslap\fR
...
@@ -157,8 +148,7 @@ and
...
@@ -157,8 +148,7 @@ and
[client]
[client]
option file groups\&.
option file groups\&.
\fBmysqlslap\fR
\fBmysqlslap\fR
also supports the options for processing option files described at
also supports the options for processing option files\&.
Section\ \&4.2.3.3.1, \(lqCommand-Line Options that Affect Option-File Handling\(rq\&.
.sp
.sp
.RS 4
.RS 4
.ie n \{\
.ie n \{\
...
@@ -206,7 +196,7 @@ Generate SQL statements automatically when they are not supplied in files or via
...
@@ -206,7 +196,7 @@ Generate SQL statements automatically when they are not supplied in files or via
.sp
.sp
Add an
Add an
AUTO_INCREMENT
AUTO_INCREMENT
column to automatically generated tables\&. This option was added in MySQL 5\&.1\&.18\&.
column to automatically generated tables\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -221,7 +211,7 @@ column to automatically generated tables\&. This option was added in MySQL 5\&.1
...
@@ -221,7 +211,7 @@ column to automatically generated tables\&. This option was added in MySQL 5\&.1
Specify how many secondary indexes to add to automatically generated tables\&. By default, none are added\&. This option was added in MySQL 5\&.1\&.18\&.
Specify how many secondary indexes to add to automatically generated tables\&. By default, none are added\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -294,7 +284,7 @@ Specify how many secondary indexes to add to automatically generated tables\&. B
...
@@ -294,7 +284,7 @@ Specify how many secondary indexes to add to automatically generated tables\&. B
.sp
.sp
How many different queries to generate for automatic tests\&. For example, if you run a
How many different queries to generate for automatic tests\&. For example, if you run a
key
key
test that performs 1000 selects, you can use this option with a value of 1000 to run 1000 unique queries, or with a value of 50 to perform 50 different selects\&. The default is 10\&. This option was added in MySQL 5\&.1\&.18\&.
test that performs 1000 selects, you can use this option with a value of 1000 to run 1000 unique queries, or with a value of 50 to perform 50 different selects\&. The default is 10\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -310,7 +300,7 @@ test that performs 1000 selects, you can use this option with a value of 1000 to
...
@@ -310,7 +300,7 @@ test that performs 1000 selects, you can use this option with a value of 1000 to
How many row inserts to perform on each thread\&. The default is 100\&. This option was added in MySQL 5\&.1\&.16\&.
How many row inserts to perform on each thread\&. The default is 100\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -340,7 +330,7 @@ How many row inserts to perform on each thread\&. The default is 100\&. This opt
...
@@ -340,7 +330,7 @@ How many row inserts to perform on each thread\&. The default is 100\&. This opt
.\" commit option: mysqlslap
.\" commit option: mysqlslap
\fB\-\-commit=\fR\fB\fIN\fR\fR
\fB\-\-commit=\fR\fB\fIN\fR\fR
.sp
.sp
How many statements to execute before committing\&. The default is 0 (no commits are done)\&. This option was added in MySQL 5\&.1\&.21\&.
How many statements to execute before committing\&. The default is 0 (no commits are done)\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -404,7 +394,7 @@ The file or string containing the statement to use for creating the table\&.
...
@@ -404,7 +394,7 @@ The file or string containing the statement to use for creating the table\&.
.\" create-schema option: mysqlslap
.\" create-schema option: mysqlslap
\fB\-\-create\-schema=\fR\fB\fIvalue\fR\fR
\fB\-\-create\-schema=\fR\fB\fIvalue\fR\fR
.sp
.sp
The schema in which to run the tests\&. This option was added in MySQL 5\&.1\&.5\&.
The schema in which to run the tests\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -419,7 +409,7 @@ The schema in which to run the tests\&. This option was added in MySQL 5\&.1\&.5
...
@@ -419,7 +409,7 @@ The schema in which to run the tests\&. This option was added in MySQL 5\&.1\&.5
.\" csv option: mysqlslap
.\" csv option: mysqlslap
\fB\-\-csv[=\fR\fB\fIfile_name\fR\fR\fB]\fR
\fB\-\-csv[=\fR\fB\fIfile_name\fR\fR\fB]\fR
.sp
.sp
Generate output in comma\-separated values format\&. The output goes to the named file, or to the standard output if no file is given\&. This option was added in MySQL 5\&.1\&.5\&.
Generate output in comma\-separated values format\&. The output goes to the named file, or to the standard output if no file is given\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -454,7 +444,7 @@ string is
...
@@ -454,7 +444,7 @@ string is
.\" debug-check option: mysqlslap
.\" debug-check option: mysqlslap
\fB\-\-debug\-check\fR
\fB\-\-debug\-check\fR
.sp
.sp
Print some debugging information when the program exits\&. This option was added in MySQL 5\&.1\&.21\&.
Print some debugging information when the program exits\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -470,7 +460,22 @@ Print some debugging information when the program exits\&. This option was added
...
@@ -470,7 +460,22 @@ Print some debugging information when the program exits\&. This option was added
\fB\-\-debug\-info\fR,
\fB\-\-debug\-info\fR,
\fB\-T\fR
\fB\-T\fR
.sp
.sp
Print debugging information and memory and CPU usage statistics when the program exits\&. This option was added in MySQL 5\&.1\&.21\&.
Print debugging information and memory and CPU usage statistics when the program exits\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlslap: default-auth option
.\" default-auth option: mysqlslap
\fB\-\-default\-auth=\fR\fB\fIname\fR
.sp
Default authentication client-side plugin to use\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -535,7 +540,7 @@ The delimiter to use in SQL statements supplied in files or via command options\
...
@@ -535,7 +540,7 @@ The delimiter to use in SQL statements supplied in files or via command options\
.sp
.sp
Detach (close and reopen) each connection after each
Detach (close and reopen) each connection after each
\fIN\fR
\fIN\fR
statements\&. The default is 0 (connections are not detached)\&. This option was added in MySQL 5\&.1\&.21\&.
statements\&. The default is 0 (connections are not detached)\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -551,7 +556,9 @@ statements\&. The default is 0 (connections are not detached)\&. This option was
...
@@ -551,7 +556,9 @@ statements\&. The default is 0 (connections are not detached)\&. This option was
\fB\-\-engine=\fR\fB\fIengine_name\fR\fR,
\fB\-\-engine=\fR\fB\fIengine_name\fR\fR,
\fB\-e \fR\fB\fIengine_name\fR\fR
\fB\-e \fR\fB\fIengine_name\fR\fR
.sp
.sp
The storage engine to use for creating tables\&.
Comma separated list of storage engines to use for creating the table\&. The test is run for
each engine\&. You can also specify an option for an engine after a colon, for example
\fBmemory:max_row=2300\fR\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -567,7 +574,7 @@ The storage engine to use for creating tables\&.
...
@@ -567,7 +574,7 @@ The storage engine to use for creating tables\&.
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-h \fR\fB\fIhost_name\fR\fR
\fB\-h \fR\fB\fIhost_name\fR\fR
.sp
.sp
Connect to the MySQL server on the given host\&.
Connect to the MariaDB server on the given host\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -582,7 +589,7 @@ Connect to the MySQL server on the given host\&.
...
@@ -582,7 +589,7 @@ Connect to the MySQL server on the given host\&.
.\" init-command option: mysqlslap
.\" init-command option: mysqlslap
\fB\-\-init\-command=str\fR
\fB\-\-init\-command=str\fR
.sp
.sp
SQL Command to execute when connecting to MySQL server\&. Will automatically be re\-executed when reconnecting\&.
SQL Command to execute when connecting to MariaDB server\&. Will automatically be re\-executed when reconnecting\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -609,21 +616,6 @@ The number of times to run the tests\&.
...
@@ -609,21 +616,6 @@ The number of times to run the tests\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlslap: lock-directory option
.\" lock-directory option: mysqlslap
\fB\-\-lock\-directory=\fR\fB\fIpath\fR\fR
.sp
The directory to use for storing locks\&. This option was added in MySQL 5\&.1\&.5 and removed in 5\&.1\&.18\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlslap: no-defaults option
.\" mysqlslap: no-defaults option
.\" no-defaults option: mysqlslap
.\" no-defaults option: mysqlslap
\fB\-\-no\-defaults\fR
\fB\-\-no\-defaults\fR
...
@@ -644,7 +636,7 @@ first argument\&.
...
@@ -644,7 +636,7 @@ first argument\&.
.\" no-drop option: mysqlslap
.\" no-drop option: mysqlslap
\fB\-\-no\-drop\fR
\fB\-\-no\-drop\fR
.sp
.sp
Do not drop the schema after the test\&.
Do not drop any schema created during the test after the test is complete\&.
@@ -733,7 +723,7 @@ This option was added in MySQL 5\&.1\&.5\&.
...
@@ -733,7 +723,7 @@ This option was added in MySQL 5\&.1\&.5\&.
.sp
.sp
Do not connect to databases\&.
Do not connect to databases\&.
\fBmysqlslap\fR
\fBmysqlslap\fR
only prints what it would have done\&. This option was added in MySQL 5\&.1\&.5\&.
only prints what it would have done\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -761,8 +751,7 @@ option on the command line,
...
@@ -761,8 +751,7 @@ option on the command line,
\fBmysqlslap\fR
\fBmysqlslap\fR
prompts for one\&.
prompts for one\&.
.sp
.sp
Specifying a password on the command line should be considered insecure\&. See
Specifying a password on the command line should be considered insecure\&. You can use an option file to avoid giving the password on the command line\&.
Section\ \&5.3.2.2, \(lqEnd-User Guidelines for Password Security\(rq\&. You can use an option file to avoid giving the password on the command line\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -789,27 +778,11 @@ On Windows, connect to the server via a named pipe\&. This option applies only i
...
@@ -789,27 +778,11 @@ On Windows, connect to the server via a named pipe\&. This option applies only i
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlslap: port option
.\" mysqlslap: plugin-dir option
.\" port option: mysqlslap
.\" plugin-dir option: mysqlslap
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
\fB\-\-plugin\-dir=\fIdir_name\fR
\fB\-P \fR\fB\fIport_num\fR\fR
.sp
The TCP/IP port number to use for the connection\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqlslap: post-query option
.\" post-query option: mysqlslap
\fB\-\-post\-query=\fR\fB\fIvalue\fR\fR
.sp
.sp
The file or string containing the statement to execute after the tests have completed\&. This execution is not counted for timing purposes\&. This option was added in MySQL 5\&.1\&.18\&.
Directory for client-side plugins\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -820,11 +793,12 @@ The file or string containing the statement to execute after the tests have comp
...
@@ -820,11 +793,12 @@ The file or string containing the statement to execute after the tests have comp
On Windows, the shared\-memory name to use, for connections made via shared memory to a local server\&. This option applies only if the server supports shared\-memory connections\&.
The TCP/IP port number to use for the connection\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -835,12 +809,11 @@ On Windows, the shared\-memory name to use, for connections made via shared memo
...
@@ -835,12 +809,11 @@ On Windows, the shared\-memory name to use, for connections made via shared memo
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlslap: print-defaults option
.\" mysqlslap: post-query option
.\" print-defaults option: mysqlslap
.\" post-query option: mysqlslap
\fB\-\-print\-defaults\fR
\fB\-\-post\-query=\fR\fB\fIvalue\fR\fR
.sp
.sp
Print the program argument list and exit\&.
The file or string containing the statement to execute after the tests have completed\&. This execution is not counted for timing purposes\&.
This must be given as the first argument\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -857,7 +830,7 @@ This must be given as the first argument\&.
...
@@ -857,7 +830,7 @@ This must be given as the first argument\&.
.sp
.sp
The string to execute via
The string to execute via
system()
system()
after the tests have completed\&. This execution is not counted for timing purposes\&. This option was added in MySQL 5\&.1\&.21\&.
after the tests have completed\&. This execution is not counted for timing purposes\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -872,7 +845,7 @@ after the tests have completed\&. This execution is not counted for timing purpo
...
@@ -872,7 +845,7 @@ after the tests have completed\&. This execution is not counted for timing purpo
.\" pre-query option: mysqlslap
.\" pre-query option: mysqlslap
\fB\-\-pre\-query=\fR\fB\fIvalue\fR\fR
\fB\-\-pre\-query=\fR\fB\fIvalue\fR\fR
.sp
.sp
The file or string containing the statement to execute before running the tests\&. This execution is not counted for timing purposes\&. This option was added in MySQL 5\&.1\&.18\&.
The file or string containing the statement to execute before running the tests\&. This execution is not counted for timing purposes\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -889,7 +862,7 @@ The file or string containing the statement to execute before running the tests\
...
@@ -889,7 +862,7 @@ The file or string containing the statement to execute before running the tests\
.sp
.sp
The string to execute via
The string to execute via
system()
system()
before running the tests\&. This execution is not counted for timing purposes\&. This option was added in MySQL 5\&.1\&.21\&.
before running the tests\&. This execution is not counted for timing purposes\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -900,17 +873,12 @@ before running the tests\&. This execution is not counted for timing purposes\&.
...
@@ -900,17 +873,12 @@ before running the tests\&. This execution is not counted for timing purposes\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlslap: preserve-schema option
.\" mysqlslap: print-defaults option
.\" preserve-schema option: mysqlslap
.\" print-defaults option: mysqlslap
\fB\-\-preserve\-schema\fR
\fB\-\-print\-defaults\fR
.sp
.sp
Preserve the schema from the
Print the program argument list and exit\&.
\fBmysqlslap\fR
This must be given as the first argument\&.
run\&. The
\fB\-\-auto\-generate\-sql\fR
and
\fB\-\-create\fR
options disable this option\&. This option was added in MySQL 5\&.1\&.5 and removed in MySQL 5\&.1\&.23\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -925,8 +893,7 @@ options disable this option\&. This option was added in MySQL 5\&.1\&.5 and remo
...
@@ -925,8 +893,7 @@ options disable this option\&. This option was added in MySQL 5\&.1\&.5 and remo
.\" protocol option: mysqlslap
.\" protocol option: mysqlslap
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
.sp
.sp
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&. For details on the allowable values, see
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&.
Section\ \&4.2.2, \(lqConnecting to the MySQL Server\(rq\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -955,12 +922,11 @@ statement to use for retrieving data\&.
...
@@ -955,12 +922,11 @@ statement to use for retrieving data\&.
On Windows, the shared\-memory name to use, for connections made via shared memory to a local server\&. This option applies only if the server supports shared\-memory connections\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -971,15 +937,12 @@ Silent mode\&. No output\&.
...
@@ -971,15 +937,12 @@ Silent mode\&. No output\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlslap: slave option
.\" mysqlslap: silent option
.\" slave option: mysqlslap
.\" silent option: mysqlslap
\fB\-\-slave\fR
\fB\-\-silent\fR,
\fB\-s\fR
.sp
.sp
Follow master locks for other
Silent mode\&. No output\&.
\fBmysqlslap\fR
clients\&. Use this option if you are trying to synchronize around one master server with
\fB\-\-lock\-directory\fR
plus NFS\&. This option was added in MySQL 5\&.1\&.5 and removed in 5\&.1\&.18\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1007,14 +970,124 @@ localhost, the Unix socket file to use, or, on Windows, the name of the named pi
...
@@ -1007,14 +970,124 @@ localhost, the Unix socket file to use, or, on Windows, the name of the named pi
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqlslap: SSL options
.\" mysqlshow: SSL options
.\" SSL options: mysqlslap
.\" SSL options: mysqlshow
\fB\-\-ssl*\fR
.sp
Options that begin with
\fB\-\-ssl\fR
\fB\-\-ssl\fR
specify whether to connect to the server via SSL and indicate where to find SSL keys and certificates\&. See
Verify server's "Common Name" in its cert against hostname used when connecting. This option is disabled by default\&.
fork()
calls and this option causes
\fBpthread\fR
calls to be used instead\&. (On Windows, the default is to use
pthread
calls and the option has no effect\&.) This option was added in MySQL 5\&.1\&.6 and removed in 5\&.1\&.18\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1051,7 +1118,7 @@ calls and the option has no effect\&.) This option was added in MySQL 5\&.1\&.6
...
@@ -1051,7 +1118,7 @@ calls and the option has no effect\&.) This option was added in MySQL 5\&.1\&.6
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-u \fR\fB\fIuser_name\fR\fR
\fB\-u \fR\fB\fIuser_name\fR\fR
.sp
.sp
The MySQL user name to use when connecting to the server\&.
The MariaDB user name to use when connecting to the server\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -1088,7 +1155,7 @@ Display version information and exit\&.
...
@@ -1088,7 +1155,7 @@ Display version information and exit\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -1097,8 +1164,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -1097,8 +1164,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -33,7 +26,7 @@ mysqltest_embedded \- program to run embedded test cases
...
@@ -33,7 +26,7 @@ mysqltest_embedded \- program to run embedded test cases
.PP
.PP
The
The
\fBmysqltest\fR
\fBmysqltest\fR
program runs a test case against a MySQL server and optionally compares the output with a result file\&. This program reads input written in a special test language\&. Typically, you invoke
program runs a test case against a MariaDB server and optionally compares the output with a result file\&. This program reads input written in a special test language\&. Typically, you invoke
\fBmysqltest\fR
\fBmysqltest\fR
via
via
\fBmysql\-test\-run\&.pl\fR
\fBmysql\-test\-run\&.pl\fR
...
@@ -55,7 +48,7 @@ Features of
...
@@ -55,7 +48,7 @@ Features of
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
Can send SQL statements to MySQL servers for execution
Can send SQL statements to MariaDB servers for execution
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -101,7 +94,7 @@ servers and switch between connections
...
@@ -101,7 +94,7 @@ servers and switch between connections
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
Can connect to an embedded server (libmysqld), if MySQL is compiled with support for
Can connect to an embedded server (libmysqld), if MariaDB is compiled with support for
libmysqld\&. (In this case, the executable is named
libmysqld\&. (In this case, the executable is named
\fBmysqltest_embedded\fR
\fBmysqltest_embedded\fR
rather than
rather than
...
@@ -206,7 +199,40 @@ Compress all information sent between the client and the server if both support
...
@@ -206,7 +199,40 @@ Compress all information sent between the client and the server if both support
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqltest: currsor-protocol option
.\" mysqltest: connect-timeout option
.\" connect-timeout option: mysqltest
\fB\-\-connect\-timeout=\fInum\fR
.sp
This can be used to set the MYSQL_OPT_CONNECT_TIMEOUT parameter of mysql_options to change the number of seconds before an unsuccessful connection attempt times out\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: continue-on-error option
.\" continue-on-error option: mysqltest
\fB\-\-continue\-on\-error\fR
.sp
Continue test even if we got an error\&. This is mostly
useful when testing a storage engine to see what from a
test file it can execute, or to find all syntax errors in
a newly created big test file\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: cursor-protocol option
.\" cursor-protocol option: mysqltest
.\" cursor-protocol option: mysqltest
\fB\-\-cursor\-protocol\fR
\fB\-\-cursor\-protocol\fR
.sp
.sp
...
@@ -242,7 +268,7 @@ The default database to use\&.
...
@@ -242,7 +268,7 @@ The default database to use\&.
Write a debugging log if MySQL is built with debugging support\&. The default
Write a debugging log if MariaDB is built with debugging support\&. The default
\fIdebug_options\fR
\fIdebug_options\fR
value is
value is
\'d:t:S:i:O,/tmp/mysqltest\&.trace\'\&.
\'d:t:S:i:O,/tmp/mysqltest\&.trace\'\&.
...
@@ -291,27 +317,7 @@ Print debugging information and memory and CPU usage statistics when the program
...
@@ -291,27 +317,7 @@ Print debugging information and memory and CPU usage statistics when the program
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-\-host=\fR\fB\fIhost_name\fR\fR,
\fB\-h \fR\fB\fIhost_name\fR\fR
\fB\-h \fR\fB\fIhost_name\fR\fR
.sp
.sp
Connect to the MySQL server on the given host\&.
Connect to the MariaDB server on the given host\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: include option
.\" include option: mysqltest
\fB\-\-include=\fR\fB\fIfile_name\fR\fR,
\fB\-i \fR\fB\fIfile_name\fR\fR
.sp
Include the contents of the given file before processing the contents of the test file\&. The included file should have the same format as other
\fBmysqltest\fR
test files\&. This option has the same effect as putting a
\-\-source \fIfile_name\fR
command as the first line of the test file\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -373,8 +379,6 @@ The maximum number of connection attempts when connecting to server\&.
...
@@ -373,8 +379,6 @@ The maximum number of connection attempts when connecting to server\&.
\fB\-\-max\-connections=\fR\fB\fInum\fR\fR
\fB\-\-max\-connections=\fR\fB\fInum\fR\fR
.sp
.sp
The maximum number of simultaneous server connections per client (that is, per test)\&. If not set, the maximum is 128\&. Minimum allowed limit is 8, maximum is 5120\&.
The maximum number of simultaneous server connections per client (that is, per test)\&. If not set, the maximum is 128\&. Minimum allowed limit is 8, maximum is 5120\&.
.sp
This option is available from MySQL 5\&.1\&.45\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -400,6 +404,36 @@ Do not read default options from any option files\&. If used, this must be the f
...
@@ -400,6 +404,36 @@ Do not read default options from any option files\&. If used, this must be the f
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqltest: non-blocking-api option
.\" non-blocking-api option: mysqltest
\fB\-\-non\-blocking\-api\fR
.sp
Use the non-blocking client API for communication\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: overlay-dir option
.\" overlay-dir option: mysqltest
\fB\-\-overlay\-dir=\fIdir_name\fR
.sp
Overlay directory\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: password option
.\" mysqltest: password option
.\" password option: mysqltest
.\" password option: mysqltest
\fB\-\-password[=\fR\fB\fIpassword\fR\fR\fB]\fR,
\fB\-\-password[=\fR\fB\fIpassword\fR\fR\fB]\fR,
...
@@ -424,12 +458,62 @@ option on the command line, you are prompted for one\&.
...
@@ -424,12 +458,62 @@ option on the command line, you are prompted for one\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqltest: plugin-dir option
.\" plugin-dir option: mysqltest
\fB\-\-plugin\-dir=\fIdir_name\fR
.sp
Directory for client-side plugins\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: port option
.\" mysqltest: port option
.\" port option: mysqltest
.\" port option: mysqltest
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
\fB\-\-port=\fR\fB\fIport_num\fR\fR,
\fB\-P \fR\fB\fIport_num\fR\fR
\fB\-P \fR\fB\fIport_num\fR\fR
.sp
.sp
The TCP/IP port number to use for the connection\&.
The TCP/IP port number to use for the connection or 0 for default to, in order of preference,
Include the contents of the given file before processing the contents of the test file\&. The included file should have the same format as other
\fBmysqltest\fR
test files\&. This option has the same effect as putting a
\-\-source \fIfile_name\fR
command as the first line of the test file\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: protocol option
.\" protocol option: mysqltest
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
.sp
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -578,6 +662,21 @@ updates the given file by writing the actual test results to it\&.
...
@@ -578,6 +662,21 @@ updates the given file by writing the actual test results to it\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqltest: result-format-version option
.\" result-format-version option: mysqltest
\fB\-\-result\-format\-version=\fI#\fR
.sp
Version of the result file format to use\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: server-arg option
.\" mysqltest: server-arg option
.\" server-arg option: mysqltest
.\" server-arg option: mysqltest
\fB\-\-server\-arg=\fR\fB\fIvalue\fR\fR,
\fB\-\-server\-arg=\fR\fB\fIvalue\fR\fR,
...
@@ -629,21 +728,6 @@ Suppress all normal output\&.
...
@@ -629,21 +728,6 @@ Suppress all normal output\&.
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqltest: skip-safemalloc option
.\" skip-safemalloc option: mysqltest
\fB\-\-skip\-safemalloc\fR
.sp
Do not use memory allocation checking\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: sleep option
.\" mysqltest: sleep option
.\" sleep option: mysqltest
.\" sleep option: mysqltest
\fB\-\-sleep=\fR\fB\fInum\fR\fR,
\fB\-\-sleep=\fR\fB\fInum\fR\fR,
...
@@ -657,8 +741,7 @@ seconds\&. This option does not affect
...
@@ -657,8 +741,7 @@ seconds\&. This option does not affect
real_sleep
real_sleep
commands\&.
commands\&.
.sp
.sp
As of MySQL 5\&.0\&.23, an option value of 0 can be used, which effectively disables
An option value of 0 can be used, which effectively disables sleep
sleep
commands in the test case\&.
commands in the test case\&.
.RE
.RE
.sp
.sp
...
@@ -705,6 +788,164 @@ creates and invokes a stored procedure that executes the statement rather than e
...
@@ -705,6 +788,164 @@ creates and invokes a stored procedure that executes the statement rather than e
.sp -1
.sp -1
.IP \(bu 2.3
.IP \(bu 2.3
.\}
.\}
.\" mysqltest: SSL options
.\" SSL options: mysqltest
\fB\-\-ssl\fR
.sp
Enable SSL for connection (automatically enabled with other flags). Disable with
\fB\-\-skip-ssl\fR\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: SSL CA option
.\" SSL CA option: mysqltest
\fB\-\-ssl\-ca=\fIname\fR
.sp
CA file in PEM format (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: SSL CA Path option
.\" SSL CA Path option: mysqltest
\fB\-\-ssl\-capath=\fIname\fR
.sp
CA directory (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: SSL Cert option
.\" SSL Cert option: mysqltest
\fB\-\-ssl\-cert=\fIname\fR
.sp
X509 cert in PEM format (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: SSL Cipher option
.\" SSL Cipher option: mysqltest
\fB\-\-ssl\-cipher=\fIname\fR
.sp
SSL cipher to use (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: SSL Key option
.\" SSL Key option: mysqltest
\fB\-\-ssl\-key=\fIname\fR
.sp
X509 key in PEM format (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: SSL Crl option
.\" SSL CRL option: mysqltest
\fB\-\-ssl\-crl=\fIname\fR
.sp
Certificate revocation list (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: SSL Crlpath option
.\" SSL Crlpath option: mysqltest
\fB\-\-ssl\-crlpath=\fIname\fR
.sp
Certificate revocation list path (check OpenSSL docs, implies
\fB\-\-ssl\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: SSL Verify Server Cert option
.\" SSL Verify Server Cert option: mysqltest
\fB\-\-ssl\-verify\-server\-cert\fR
.sp
Verify server's "Common Name" in its cert against hostname used when connecting. This option is disabled by default\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: suite-dir option
.\" suite-dir option: mysqltest
\fB\-\-suite\-dir=\fIdir_name\fR
.sp
Suite directory\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqltest: tail-lines option
.\" mysqltest: tail-lines option
.\" tail-lines option: mysqltest
.\" tail-lines option: mysqltest
\fB\-\-tail\-lines=\fR\fB\fInn\fR\fR
\fB\-\-tail\-lines=\fR\fB\fInn\fR\fR
...
@@ -741,7 +982,7 @@ Read test input from this file\&. The default is to read from the standard input
...
@@ -741,7 +982,7 @@ Read test input from this file\&. The default is to read from the standard input
\fB\-\-timer\-file=\fR\fB\fIfile_name\fR\fR,
\fB\-\-timer\-file=\fR\fB\fIfile_name\fR\fR,
\fB\-m \fR\fB\fIfile_name\fR\fR
\fB\-m \fR\fB\fIfile_name\fR\fR
.sp
.sp
If given, the number of millisecond spent running the test will be written to this file\&. This is used by
If given, the number of microseconds spent running the test will be written to this file\&. This is used by
\fBmysql\-test\-run\&.pl\fR
\fBmysql\-test\-run\&.pl\fR
for its reporting\&.
for its reporting\&.
.RE
.RE
...
@@ -775,7 +1016,7 @@ The temporary directory where socket files are created\&.
...
@@ -775,7 +1016,7 @@ The temporary directory where socket files are created\&.
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-\-user=\fR\fB\fIuser_name\fR\fR,
\fB\-u \fR\fB\fIuser_name\fR\fR
\fB\-u \fR\fB\fIuser_name\fR\fR
.sp
.sp
The MySQL user name to use when connecting to the server\&.
The MariaDB user name to use when connecting to the server\&.
.RE
.RE
.sp
.sp
.RS 4
.RS 4
...
@@ -824,12 +1065,12 @@ Display version information and exit\&.
...
@@ -824,12 +1065,12 @@ Display version information and exit\&.
.sp
.sp
Every
Every
SELECT
SELECT
statement is wrapped inside a view\&. This option was added in MySQL 5\&.0\&.19\&.
statement is wrapped inside a view\&.
.RE
.RE
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright \(co 2007, 2010, Oracle and/or its affiliates
Copyright \(co 2007, 2010, Oracle and/or its affiliates, 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -838,8 +1079,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -838,8 +1079,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -787,7 +780,7 @@ Section\ \&17.1.5, \(lqKnown Limitations of MySQL Cluster\(rq\&.
...
@@ -787,7 +780,7 @@ Section\ \&17.1.5, \(lqKnown Limitations of MySQL Cluster\(rq\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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.
@@ -154,7 +147,7 @@ must be run on a cluster data node, since it accesses the data node file system
...
@@ -154,7 +147,7 @@ must be run on a cluster data node, since it accesses the data node file system
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -169,8 +162,6 @@ Cluster Data Node FileSystemDir Files
...
@@ -169,8 +162,6 @@ Cluster Data Node FileSystemDir Files
@@ -356,7 +349,7 @@ concurrently on different data nodes in the same MySQL Cluster\&. However, such
...
@@ -356,7 +349,7 @@ concurrently on different data nodes in the same MySQL Cluster\&. However, such
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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.
For most system errors, MySQL displays, in addition to an internal text message, the system error code in one of the following styles:
For most system errors, MariaDB displays, in addition to an internal text message, the system error code in one of the following styles:
.sp
.sp
.if n \{\
.if n \{\
.RS 4
.RS 4
...
@@ -181,7 +174,7 @@ Display version information and exit\&.
...
@@ -181,7 +174,7 @@ Display version information and exit\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -190,8 +183,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -190,8 +183,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -160,7 +153,7 @@ Display version information and exit\&.
...
@@ -160,7 +153,7 @@ Display version information and exit\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -169,8 +162,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -169,8 +162,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -117,7 +110,7 @@ Display version information and exit\&.
...
@@ -117,7 +110,7 @@ Display version information and exit\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -126,8 +119,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -126,8 +119,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available
@@ -99,7 +92,7 @@ Display version information and exit\&.
...
@@ -99,7 +92,7 @@ Display version information and exit\&.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.br
.br
.PP
.PP
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2015 MariaDB Foundation
.PP
.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.
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
.PP
...
@@ -108,8 +101,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
...
@@ -108,8 +101,6 @@ This documentation is distributed in the hope that it will be useful, but WITHOU
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/.
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
.sp
.SH "SEE ALSO"
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
which may already be installed locally and which is also available