2009-09-16 14:03:18 +02:00
'\" t
2009-05-25 11:59:47 +02:00
. \"
2024-09-03 19:15:59 +02:00
.TH "\fBMARIADB-UPGRADE\fR" "1" "3 September 2024" "MariaDB 11.4" "MariaDB Database System"
2009-09-16 14:03:18 +02:00
. \" -----------------------------------------------------------------
. \" * set default formatting
. \" -----------------------------------------------------------------
2009-05-25 11:59:47 +02:00
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
2009-09-16 14:03:18 +02:00
. \" -----------------------------------------------------------------
. \" * MAIN CONTENT STARTS HERE *
. \" -----------------------------------------------------------------
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade
. \" upgrading MariaDB
. \" MariaDB: upgrading
2009-05-25 11:59:47 +02:00
.SH "NAME"
2024-09-03 19:15:59 +02:00
mariadb-upgrade \- check tables for MariaDB upgrade (mariadb-upgrade is now a symlink to mariadb-upgrade)
2009-05-25 11:59:47 +02:00
.SH "SYNOPSIS"
2024-09-03 19:15:59 +02:00
.HP \w '\fBmariadb-upgrade\ [\fR\fB\fIoptions\fR\fR\fB]\fR\ 'u
\fB mariadb-upgrade [\fR \fB \fI options\fR \fR \fB ]\fR
2009-05-25 11:59:47 +02:00
.SH "DESCRIPTION"
.PP
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2015-09-09 14:32:52 +02:00
examines all tables in all databases for incompatibilities with the current version of the MariaDB Server\& .
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2009-09-16 14:03:18 +02:00
also upgrades the system tables so that you can take advantage of new privileges or capabilities that might have been added\& .
2009-05-25 11:59:47 +02:00
.PP
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2015-09-09 14:32:52 +02:00
should be executed each time you upgrade MariaDB\& .
2009-05-25 11:59:47 +02:00
.PP
2009-09-16 14:03:18 +02:00
If a table is found to have a possible incompatibility,
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2015-09-09 14:32:52 +02:00
performs a table check\& . If any problems are found, a table repair is attempted\& .
2009-09-16 14:03:18 +02:00
.if n \{ \
2009-05-25 11:59:47 +02:00
.sp
2009-09-16 14:03:18 +02:00
. \}
.RS 4
2024-04-16 10:44:00 +03:00
.it 1
2009-05-25 11:59:47 +02:00
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
2009-09-16 14:03:18 +02:00
.ps +1
2010-04-28 15:06:11 +02:00
\fB Note\fR
.ps -1
.br
.PP
On Windows Server 2008 and Windows Vista, you must run
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2010-04-28 15:06:11 +02:00
with administrator privileges\& . You can do this by running a Command Prompt as Administrator and running the command\& . Failure to do so may result in the upgrade failing to execute correctly\& .
.sp .5v
.RE
.if n \{ \
.sp
. \}
.RS 4
2024-04-16 10:44:00 +03:00
.it 1
2010-04-28 15:06:11 +02:00
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
2009-05-25 11:59:47 +02:00
\fB Caution\fR
2009-09-16 14:03:18 +02:00
.ps -1
.br
2009-05-25 11:59:47 +02:00
.PP
2015-09-09 14:32:52 +02:00
You should always back up your current MariaDB installation
2009-05-25 11:59:47 +02:00
\fI before\fR
2015-09-09 14:32:52 +02:00
performing an upgrade\& .
2009-09-16 14:03:18 +02:00
.sp .5v
.RE
.PP
To use
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR , make sure that the server is running, and then invoke it like this:
2009-09-16 14:03:18 +02:00
.sp
.if n \{ \
.RS 4
. \}
.nf
2024-09-03 19:15:59 +02:00
shell> \fB mariadb-upgrade [\fR \fB \fI options\fR \fR \fB ]\fR
2009-09-16 14:03:18 +02:00
.fi
.if n \{ \
.RE
. \}
.PP
After running
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR , stop the server and restart it so that any changes made to the system tables take effect\& .
2009-05-25 11:59:47 +02:00
.PP
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2009-09-16 14:03:18 +02:00
executes the following commands to check and repair tables and to upgrade the system tables:
2009-05-25 11:59:47 +02:00
.sp
2009-09-16 14:03:18 +02:00
.if n \{ \
.RS 4
. \}
2009-05-25 11:59:47 +02:00
.nf
2024-09-03 19:15:59 +02:00
mariadb-check \- \- all\- databases \- \- check\- upgrade \- \- auto\- repair
mariadb < \fI fix_priv_tables\fR
mariadb-check \- \- all\- databases \- \- check\- upgrade \- \- fix\- db\- names \- \- fix\- table\- names
2009-05-25 11:59:47 +02:00
.fi
2009-09-16 14:03:18 +02:00
.if n \{ \
2009-05-25 11:59:47 +02:00
.RE
2009-09-16 14:03:18 +02:00
. \}
2009-05-25 11:59:47 +02:00
.PP
2009-09-16 14:03:18 +02:00
Notes about the preceding commands:
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
Because
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2009-09-16 14:03:18 +02:00
invokes
2024-09-03 19:15:59 +02:00
\fB mariadb-check\fR
2009-09-16 14:03:18 +02:00
with the
\fB \- \- all\- databases\fR
option, it processes all tables in all databases, which might take a long time to complete\& . Each table is locked and therefore unavailable to other sessions while it is being processed\& . Check and repair operations can be time\- consuming, particularly for large tables\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
For details about what checks the
\fB \- \- check\- upgrade\fR
option entails, see the description of the
FOR UPGRADE
option of the
CHECK TABLE
2015-09-09 14:32:52 +02:00
statement\& .
2009-09-16 14:03:18 +02:00
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
\fI fix_priv_tables\fR
2010-04-28 15:06:11 +02:00
represents a script generated internally by
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2009-09-16 14:03:18 +02:00
that contains SQL statements to upgrade the tables in the
mysql
database\& .
.RE
2009-05-25 11:59:47 +02:00
.PP
2015-09-09 14:32:52 +02:00
All checked and repaired tables are marked with the current MariaDB version number\& . This ensures that next time you run
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2009-09-16 14:03:18 +02:00
with the same version of the server, it can tell whether there is any need to check or repair the table again\& .
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade_info file: mariadb-upgrade
. \" mariadb-upgrade: mariadb-upgrade_info file
2009-09-16 14:03:18 +02:00
.PP
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2015-09-09 14:32:52 +02:00
also saves the MariaDB version number in a file named
2024-09-03 19:15:59 +02:00
mariadb-upgrade_info
2009-09-16 14:03:18 +02:00
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
option\& .
2009-05-25 11:59:47 +02:00
.PP
2024-09-03 19:15:59 +02:00
For this reason, \fB mariadb-upgrade\fR needs to be run as a user with write access to the data directory\& .
2020-07-20 12:02:00 +02:00
.PP
2015-09-09 14:32:52 +02:00
If you install MariaDB from RPM packages on Linux, you must install the server and client RPMs\& .
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2009-05-25 11:59:47 +02:00
is included in the server RPM but requires the client RPM because the latter includes
2024-09-03 19:15:59 +02:00
\fB mariadb-check\fR \& .
2009-05-25 11:59:47 +02:00
.PP
.PP
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2010-04-28 15:06:11 +02:00
supports the following options, which can be specified on the command line or in the
2024-09-03 19:15:59 +02:00
[mariadb-upgrade]
2009-09-16 14:03:18 +02:00
and
[client]
2010-04-28 15:06:11 +02:00
option file groups\& . Other options are passed to
2024-09-03 19:15:59 +02:00
\fB mariadb-check\fR \& . For example, it might be necessary to specify the
2009-05-25 11:59:47 +02:00
\fB \- \- password[=\fR \fB \fI password\fR \fR \fB ]\fR
2009-09-16 14:03:18 +02:00
option\& .
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2015-09-09 14:32:52 +02:00
also supports the options for processing option files\& .
2009-09-16 14:03:18 +02:00
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: help option
. \" help option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\fB \- \- help\fR ,
\fB \- ?\fR
2009-05-25 11:59:47 +02:00
.sp
2009-09-16 14:03:18 +02:00
Display a short help message and exit\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: basedir option
. \" basedir option: mariadb-upgrade
2009-05-25 11:59:47 +02:00
\fB \- \- basedir=\fR \fB \fI path\fR \fR
.sp
2015-09-09 14:32:52 +02:00
Old option accepted for backward compatibility but ignored\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: character-sets-dir option
. \" character-sets-dir option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\fB \- \- character\- sets\- dir=\fR \fB \fI path\fR \fR
.sp
Old option accepted for backward compatibility but ignored\& .
2009-09-16 14:03:18 +02:00
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: check-if-upgrade-is-needed option
. \" check-if-upgrade-is-needed option: mariadb-upgrade
2022-01-04 20:09:40 +02:00
\fB \- \- check\- if\- upgrade\- is\- needed\fR
.sp
Exit with a status code indicating if an upgrade is needed\& . Returns 0 if upgrade needed or current version couldn't be determined, 1 when no action required\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: datadir option
. \" datadir option: mariadb-upgrade
2009-05-25 11:59:47 +02:00
\fB \- \- datadir=\fR \fB \fI path\fR \fR
.sp
2015-09-09 14:32:52 +02:00
Old option accepted for backward compatibility but ignored\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: debug option
. \" debug option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\fB \- \- debug=\fR \fB \fI path\fR \fR ,
\fB \- # \fI path\fR \fR
.sp
For debug builds, output debug log\& .
2009-09-16 14:03:18 +02:00
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: debug-check option
. \" debug-check option: mariadb-upgrade
2009-05-25 11:59:47 +02:00
\fB \- \- debug\- check\fR
.sp
2015-09-09 14:32:52 +02:00
Print some debugging information when the program exits\& .
2009-09-16 14:03:18 +02:00
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: debug-info option
. \" debug-info option: mariadb-upgrade
2009-05-25 11:59:47 +02:00
\fB \- \- debug\- info\fR ,
\fB \- T\fR
.sp
2015-09-09 14:32:52 +02:00
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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: default-character-set option
. \" default-character-set option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\fB \- \- default\- character\- set=\fR \fB \fI name\fR \fR
.sp
Old option accepted for backward compatibility but ignored\& .
2009-09-16 14:03:18 +02:00
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: force option
. \" force option: mariadb-upgrade
2009-05-25 11:59:47 +02:00
\fB \- \- force\fR
.sp
2009-09-16 14:03:18 +02:00
Ignore the
2024-09-03 19:15:59 +02:00
mariadb-upgrade_info
2009-09-16 14:03:18 +02:00
file and force execution of
2024-09-03 19:15:59 +02:00
\fB mariadb-check\fR
2009-05-25 11:59:47 +02:00
even if
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2015-09-09 14:32:52 +02:00
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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: host option
. \" host option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: password option
. \" password option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\fB \- \- password[=\fR \fB \fI password\fR \fR \fB ]\fR ,
\fB \- p[\fR \fB \fI password\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
\fI cannot\fR
have a space between the option and the password\& . If you omit the
\fI password\fR
value following the
\fB \- \- password\fR
or
\fB \- p\fR
option on the command line,
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2015-09-09 14:32:52 +02:00
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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: port option
. \" port option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\fB \- \- port=\fR \fB \fI port_num\fR \fR ,
\fB \- P \fR \fB \fI port_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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: protocol option
. \" protocol option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: silent option
. \" silent option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: socket option
. \" socket option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\fB \- \- socket=\fR \fB \fI path\fR \fR ,
\fB \- S \fR \fB \fI path\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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: SSL options
. \" SSL options: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: SSL CA option
. \" SSL CA option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\fB \- \- ssl\- ca=\fI name\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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: SSL CA Path option
. \" SSL CA Path option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\fB \- \- ssl\- capath=\fI name\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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: SSL Cert option
. \" SSL Cert option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\fB \- \- ssl\- cert=\fI name\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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: SSL Cipher option
. \" SSL Cipher option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\fB \- \- ssl\- cipher=\fI name\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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: SSL Key option
. \" SSL Key option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\fB \- \- ssl\- key=\fI name\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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: SSL Crl option
. \" SSL CRL option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\fB \- \- ssl\- crl=\fI name\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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: SSL Crlpath option
. \" SSL Crlpath option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\fB \- \- ssl\- crlpath=\fI name\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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: SSL Verify Server Cert option
. \" SSL Verify Server Cert option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\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\& .
2009-09-16 14:03:18 +02:00
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: tmpdir option
. \" tmpdir option: mariadb-upgrade
2009-05-25 11:59:47 +02:00
\fB \- \- tmpdir=\fR \fB \fI path\fR \fR ,
\fB \- t \fR \fB \fI path\fR \fR
.sp
2015-09-09 14:32:52 +02:00
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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: upgrade-system-tables option
. \" upgrade-system-tables option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\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\& .
2009-09-16 14:03:18 +02:00
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: user option
. \" user option: mariadb-upgrade
2009-05-25 11:59:47 +02:00
\fB \- \- user=\fR \fB \fI user_name\fR \fR ,
\fB \- u \fR \fB \fI user_name\fR \fR
.sp
2015-09-09 14:32:52 +02:00
The MariaDB user name to use when connecting to the server and not using the current login\& .
2009-09-16 14:03:18 +02:00
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: verbose option
. \" verbose option: mariadb-upgrade
2009-05-25 11:59:47 +02:00
\fB \- \- verbose\fR
.sp
2015-09-09 14:32:52 +02:00
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)
2023-03-06 23:02:03 +05:30
will also write out all mariadb-check commands used; using it 5 times will print all
2024-09-03 19:15:59 +02:00
the mariadb commands used and their results while running mariadb-fix-privilege-tables script\& .
2015-09-09 14:32:52 +02:00
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: version option
. \" version option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\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
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: version-check option
. \" version-check option: mariadb-upgrade
2015-09-09 14:32:52 +02:00
\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\& .
2009-09-16 14:03:18 +02:00
.RE
2009-12-01 08:24:05 +01:00
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2024-09-03 19:15:59 +02:00
. \" mariadb-upgrade: write-binlog option
. \" write-binlog option: mariadb-upgrade
2009-12-01 08:24:05 +01:00
\fB \- \- write\- binlog\fR
.sp
Cause binary logging to be enabled while
2024-09-03 19:15:59 +02:00
\fB mariadb-upgrade\fR
2017-11-20 11:00:44 +02:00
runs\& .
2009-12-01 08:24:05 +01:00
.RE
2009-05-25 11:59:47 +02:00
.SH "COPYRIGHT"
2009-09-16 14:03:18 +02:00
.br
2009-05-25 11:59:47 +02:00
.PP
2024-09-03 19:15:59 +02:00
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2024 MariaDB Foundation
2009-05-25 11:59:47 +02:00
.PP
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
.PP
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
.PP
2019-05-11 21:29:06 +03:00
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-1335 USA or see http://www.gnu.org/licenses/.
2009-09-16 14:03:18 +02:00
.sp
2009-05-25 11:59:47 +02:00
.SH "SEE ALSO"
2015-09-09 14:32:52 +02:00
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
2009-05-25 11:59:47 +02:00
.SH AUTHOR
2015-09-09 14:32:52 +02:00
MariaDB Foundation (http://www.mariadb.org/).