2009-09-16 14:03:18 +02:00
'\" t
2009-05-25 11:59:47 +02:00
. \"
2019-07-01 17:21:57 +02:00
.TH "\FBMYSQL\&.SERVER\FR" "1" "27 June 2019" "MariaDB 10\&.5" "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 *
. \" -----------------------------------------------------------------
. \" mysql.server
2009-05-25 11:59:47 +02:00
.SH "NAME"
2015-09-09 14:32:52 +02:00
mysql.server \- MariaDB server startup script
2009-05-25 11:59:47 +02:00
.SH "SYNOPSIS"
2009-09-16 14:03:18 +02:00
.HP \w '\fBmysql\ {start|stop}\fR\ 'u
2009-05-25 11:59:47 +02:00
\fB mysql {start|stop}\fR
.SH "DESCRIPTION"
.PP
2015-09-09 14:32:52 +02:00
MariaDB distributions on Unix include a script named
\fB mysql\& .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\& .
2009-05-25 11:59:47 +02:00
.PP
2009-09-16 14:03:18 +02:00
\fB mysql\& .server\fR
2009-05-25 11:59:47 +02:00
can be found in the
2009-09-16 14:03:18 +02:00
support\- files
2015-09-09 14:32:52 +02:00
directory under your MariaDB installation directory or in a MariaDB source distribution\& .
2009-05-25 11:59:47 +02:00
.PP
2009-09-16 14:03:18 +02:00
If you use the Linux server RPM package (MySQL\- server\- \fI VERSION\fR \& .rpm), the
\fB mysql\& .server\fR
2009-05-25 11:59:47 +02:00
script will be installed in the
2009-09-16 14:03:18 +02:00
/etc/init\& .d
2009-05-25 11:59:47 +02:00
directory with the name
2015-09-09 14:32:52 +02:00
mysql\& . You need not install it manually\& .
2009-05-25 11:59:47 +02:00
.PP
Some vendors provide RPM packages that install a startup script under a different name such as
2009-09-16 14:03:18 +02:00
\fB mysqld\fR \& .
2009-05-25 11:59:47 +02:00
.PP
2015-09-09 14:32:52 +02:00
If you install MariaDB from a source distribution or using a binary distribution format that does not install
2009-09-16 14:03:18 +02:00
\fB mysql\& .server\fR
2015-09-09 14:32:52 +02:00
automatically, you can install it manually\& .
2009-05-25 11:59:47 +02:00
.PP
2009-09-16 14:03:18 +02:00
\fB mysql\& .server\fR
2009-05-25 11:59:47 +02:00
reads options from the
2009-09-16 14:03:18 +02:00
[mysql\& .server]
2009-05-25 11:59:47 +02:00
and
[mysqld]
2009-09-16 14:03:18 +02:00
sections of option files\& . For backward compatibility, it also reads
2009-05-25 11:59:47 +02:00
[mysql_server]
sections, although you should rename such sections to
2015-09-09 14:32:52 +02:00
[mysql\& .server]&.
2009-05-25 11:59:47 +02:00
.PP
2009-09-16 14:03:18 +02:00
\fB mysql\& .server\fR
2010-04-28 15:06:11 +02:00
supports the following options\& .
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
. \}
. \" mysql.server: basedir option
. \" basedir option: mysql.server
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
The path to the MariaDB installation directory\& .
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
. \}
. \" mysql.server: datadir option
. \" datadir option: mysql.server
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
The path to the MariaDB data directory\& .
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
. \}
. \" mysql.server: pid-file option
. \" pid-file option: mysql.server
2009-05-25 11:59:47 +02:00
\fB \- \- pid\- file=\fR \fB \fI file_name\fR \fR
.sp
2015-09-09 14:32:52 +02:00
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.
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
. \}
. \" mysql.server: service-startup-timeout option
. \" service-startup-timeout option: mysql.server
2009-05-25 11:59:47 +02:00
\fB \- \- service\- startup\- timeout=\fR \fB \fI file_name\fR \fR
.sp
2009-09-16 14:03:18 +02:00
How long in seconds to wait for confirmation of server startup\& . If the server does not start within this time,
\fB mysql\& .server\fR
2015-09-09 14:32:52 +02:00
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)\& .
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
. \}
. \" mysql.server: use-mysqld_safe option
. \" use-mysqld_safe option: mysql.server
2009-05-25 11:59:47 +02:00
\fB \- \- use\- mysqld_safe\fR
.sp
Use
\fB mysqld_safe\fR
2009-09-16 14:03:18 +02:00
to start the server\& . This is the default\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
. \" mysql.server: use-manager option
. \" use-manager option: mysql.server
2009-05-25 11:59:47 +02:00
\fB \- \- use\- manager\fR
.sp
2009-09-16 14:03:18 +02:00
Use Instance Manager to start the server\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
. \" mysql.server: user option
. \" user option: mysql.server
2009-05-25 11:59:47 +02:00
\fB \- \- user=\fR \fB \fI user_name\fR \fR
.sp
The login user name to use for running
2009-09-16 14:03:18 +02:00
\fB mysqld\fR \& .
.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
2019-07-01 17:21:57 +02:00
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2019 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 20:29:06 +02: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/).